企业列表出来了
parent
df7e949caf
commit
c13d1f1d24
|
@ -132,8 +132,8 @@ public class SysApitypeController extends BaseController
|
|||
@PostMapping("/standing/{res}")
|
||||
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
||||
if(res!=1||userRole!=null){
|
||||
|
||||
if(res!=1){
|
||||
return Result.error();
|
||||
}
|
||||
return Result.success(sysApitypeService.updateCreateByUserId(userId));
|
||||
|
|
Loading…
Reference in New Issue