|
@@ -75,7 +75,7 @@ public class UserManagerController {
|
|
|
|
|
|
@ApiOperation("启用/停用用户")
|
|
|
@PostMapping("enableUser")
|
|
|
- public BaseResponse enableUser(@Validated UserInfoIdReq userInfoIdReq) throws Exception {
|
|
|
+ public BaseResponse enableUser(@Validated @RequestBody UserInfoIdReq userInfoIdReq) throws Exception {
|
|
|
userManagerService.enableUser(userInfoIdReq.getId());
|
|
|
//包装出参
|
|
|
return BaseResponse.create();
|
|
@@ -83,7 +83,7 @@ public class UserManagerController {
|
|
|
|
|
|
@ApiOperation("批量启用/停用用户")
|
|
|
@PostMapping("batchEnableUser")
|
|
|
- public BaseResponse batchEnableUser(@Validated BatchEnableUserReq batchEnableUserReq) throws Exception {
|
|
|
+ public BaseResponse batchEnableUser(@Validated @RequestBody BatchEnableUserReq batchEnableUserReq) throws Exception {
|
|
|
userManagerService.batchEnableUser(batchEnableUserReq);
|
|
|
//包装出参
|
|
|
return BaseResponse.create();
|