企业列表出来了
parent
1eef3b1fd3
commit
2b12cc5d27
|
@ -129,8 +129,9 @@ public class SysApitypeController extends BaseController
|
||||||
return JavaGetConfig.standing(standing);
|
return JavaGetConfig.standing(standing);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/standing/{res}/{userId}")
|
@PostMapping("/standing/{res}")
|
||||||
public Result updateCreateByUserId(@PathVariable("res") Integer res,@PathVariable("userId") Long userId) {
|
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
||||||
|
Long userId = SecurityUtils.getUserId();
|
||||||
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