企业列表出来了

master
法外狂徒张三 2024-09-09 16:44:53 +08:00
parent b6e54db3c4
commit 0f1ee48b87
2 changed files with 89 additions and 1871 deletions

View File

@ -131,13 +131,19 @@ public class SysApitypeController extends BaseController
return JavaGetConfig.standing(standing);
}
Long userId = SecurityUtils.getUserId();
@PostMapping("/addUserRole/{res}")
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
Long userId = SecurityUtils.getUserId();
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
if(res!=1||userRole!=null){
return Result.error();
}
return Result.success(sysApitypeService.insertUserRole(userId));
}
@PostMapping("/abc")
public Long abc(){
return SecurityUtils.getUserId();
}
}

File diff suppressed because it is too large Load Diff