From c6d0b9a9ae5255344c4954ff0877fea8198cb55d Mon Sep 17 00:00:00 2001 From: abbfun <819589789@qq.com> Date: Wed, 14 Oct 2020 16:21:43 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-admin/src/main/java/com/ruoyi/we?= =?UTF-8?q?b/controller/system/SysUserController.java.=20=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=AD=97=E7=AC=A6=E4=B8=B2=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/system/SysUserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java index 946df4d60..37d6a4dde 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java @@ -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)