From 8a667f60512b3d64cd497837f581ee69ab85b090 Mon Sep 17 00:00:00 2001 From: smallchill Date: Wed, 1 May 2019 20:58:54 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/user/controller/UserController.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blade-service/blade-user/src/main/java/org/springblade/system/user/controller/UserController.java b/blade-service/blade-user/src/main/java/org/springblade/system/user/controller/UserController.java index 826ffd43..daa75a3f 100644 --- a/blade-service/blade-user/src/main/java/org/springblade/system/user/controller/UserController.java +++ b/blade-service/blade-user/src/main/java/org/springblade/system/user/controller/UserController.java @@ -101,7 +101,7 @@ public class UserController { * 修改 */ @PostMapping("/update") - @ApiOperation(value = "修改", notes = "传入User", position = 3) + @ApiOperation(value = "修改", notes = "传入User", position = 4) @PreAuth(RoleConstant.HAS_ROLE_ADMIN) public R update(@Valid @RequestBody User user) { return R.status(userService.updateById(user)); @@ -111,7 +111,7 @@ public class UserController { * 删除 */ @PostMapping("/remove") - @ApiOperation(value = "删除", notes = "传入地基和", position = 4) + @ApiOperation(value = "删除", notes = "传入地基和", position = 5) @PreAuth(RoleConstant.HAS_ROLE_ADMIN) public R remove(@RequestParam String ids) { return R.status(userService.deleteLogic(Func.toIntList(ids))); @@ -125,7 +125,7 @@ public class UserController { * @return */ @PostMapping("/grant") - @ApiOperation(value = "权限设置", notes = "传入roleId集合以及menuId集合", position = 5) + @ApiOperation(value = "权限设置", notes = "传入roleId集合以及menuId集合", position = 6) @PreAuth(RoleConstant.HAS_ROLE_ADMIN) public R grant(@ApiParam(value = "userId集合", required = true) @RequestParam String userIds, @ApiParam(value = "roleId集合", required = true) @RequestParam String roleIds) { @@ -134,7 +134,7 @@ public class UserController { } @PostMapping("/reset-password") - @ApiOperation(value = "初始化密码", notes = "传入userId集合", position = 6) + @ApiOperation(value = "初始化密码", notes = "传入userId集合", position = 7) @PreAuth(RoleConstant.HAS_ROLE_ADMIN) public R resetPassword(@ApiParam(value = "userId集合", required = true) @RequestParam String userIds) { boolean temp = userService.resetPassword(userIds); @@ -148,7 +148,7 @@ public class UserController { * @return */ @GetMapping("/user-list") - @ApiOperation(value = "用户列表", notes = "传入user", position = 7) + @ApiOperation(value = "用户列表", notes = "传入user", position = 8) public R> userList(User user) { List list = userService.list(Condition.getQueryWrapper(user)); return R.data(list);