update ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java.

权限字符串修正
This commit is contained in:
abbfun 2020-10-14 16:21:43 +08:00 committed by Gitee
parent 08df2c93a9
commit c6d0b9a9ae
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public class SysUserController extends BaseController
/** /**
* 重置密码 * 重置密码
*/ */
@PreAuthorize("@ss.hasPermi('system:user:edit')") @PreAuthorize("@ss.hasPermi('system:user:resetPwd')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE) @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping("/resetPwd") @PutMapping("/resetPwd")
public AjaxResult resetPwd(@RequestBody SysUser user) public AjaxResult resetPwd(@RequestBody SysUser user)