Commit c6d0b9a9ae5255344c4954ff0877fea8198cb55d
Committed by
Gitee
1 parent
08df2c93
update ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java.
权限字符串修正
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
| @@ -175,7 +175,7 @@ public class SysUserController extends BaseController | @@ -175,7 +175,7 @@ public class SysUserController extends BaseController | ||
| 175 | /** | 175 | /** |
| 176 | * 重置密码 | 176 | * 重置密码 |
| 177 | */ | 177 | */ |
| 178 | - @PreAuthorize("@ss.hasPermi('system:user:edit')") | 178 | + @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") |
| 179 | @Log(title = "用户管理", businessType = BusinessType.UPDATE) | 179 | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| 180 | @PutMapping("/resetPwd") | 180 | @PutMapping("/resetPwd") |
| 181 | public AjaxResult resetPwd(@RequestBody SysUser user) | 181 | public AjaxResult resetPwd(@RequestBody SysUser user) |