企业列表出来了
parent
fc3174a18d
commit
b6e54db3c4
|
@ -131,10 +131,9 @@ public class SysApitypeController extends BaseController
|
||||||
return JavaGetConfig.standing(standing);
|
return JavaGetConfig.standing(standing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Long userId = SecurityUtils.getUserId();
|
||||||
@PostMapping("/addUserRole/{res}")
|
@PostMapping("/addUserRole/{res}")
|
||||||
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
||||||
Long userId = SecurityUtils.getUserId();
|
|
||||||
log.info("userId:"+userId);
|
|
||||||
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
||||||
if(res!=1||userRole!=null){
|
if(res!=1||userRole!=null){
|
||||||
return Result.error();
|
return Result.error();
|
||||||
|
|
Loading…
Reference in New Issue