|
|
@@ -43,6 +43,7 @@ public class UserManagerController {
|
|
|
@Autowired
|
|
|
UserAccountService userAccountService;
|
|
|
|
|
|
+
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "机构用户列表-分页查询", description = "机构用户列表-分页查询")
|
|
|
@RequestMapping(value = {"pageOrgUser"}, method = {RequestMethod.POST})
|
|
|
@@ -80,6 +81,16 @@ public class UserManagerController {
|
|
|
return userAccountService.updateOrgUserState(param);
|
|
|
}
|
|
|
|
|
|
+ //---------------------------------所有用户 start ----------------------------
|
|
|
+ @ResourceAuth(value = "user", type = AuthType.User)
|
|
|
+ @Operation(summary = "用户列表-分页查询(所有)", description = "用户列表-分页查询")
|
|
|
+ @RequestMapping(value = {"pageAllUser"}, method = {RequestMethod.POST})
|
|
|
+ public ResultContent<Page<UserCountModel>> pageAllUser(
|
|
|
+ @Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
+ @Parameter(required = false) UserCountSearchParam param) {
|
|
|
+ return userAccountService.list(param, pageable);
|
|
|
+ }
|
|
|
+
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "重置用户密码", description = "重置用户密码(重置为默认密码)")
|
|
|
@RequestMapping(value = {"resetPassWord"}, method = {RequestMethod.POST})
|
|
|
@@ -87,4 +98,12 @@ public class UserManagerController {
|
|
|
Assert.hasText(param.getUserId(), "userId不能为空");
|
|
|
return userAccountService.resetPassWord(param);
|
|
|
}
|
|
|
+
|
|
|
+ @ResourceAuth(value = "user", type = AuthType.User)
|
|
|
+ @Operation(summary = "编辑用户信息", description = "编辑用户信息")
|
|
|
+ @RequestMapping(value = {"updateUserAccountInfo"}, method = {RequestMethod.POST})
|
|
|
+ public ResultContent updateUserAccountInfo(@RequestBody UserCountUpdateBaseParam param) {
|
|
|
+ return userAccountService.updateUserAccountInfo(param);
|
|
|
+ }
|
|
|
+
|
|
|
}
|