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

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)
@PutMapping("/resetPwd")
public AjaxResult resetPwd(@RequestBody SysUser user)