企业列表出来了

master
法外狂徒张三 2024-09-09 14:34:57 +08:00
parent a20078f719
commit 1eef3b1fd3
1 changed files with 3 additions and 4 deletions

View File

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