From edf5cb0ad09facbbaf7575cf45ae51bddef8b6cf Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 26 Jun 2024 15:46:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=A2=98=E5=BA=93=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/system/system/SysUserController.java | 2 +- .../src/main/java/com/ruoyi/common/enums/BusinessType.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java index 4ab2070..8b23ec2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java @@ -199,7 +199,7 @@ public class SysUserController extends BaseController } @RequiresPermissions("system:user:resetPwd") - @Log(title = "重置密码", businessType = BusinessType.UPDATE) + @Log(title = "重置密码", businessType = BusinessType.RESET) @PostMapping("/resetPwd") @ResponseBody public AjaxResult resetPwdSave(SysUser user) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/enums/BusinessType.java b/ruoyi-common/src/main/java/com/ruoyi/common/enums/BusinessType.java index f9b7d85..aee36cf 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/enums/BusinessType.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/enums/BusinessType.java @@ -76,4 +76,10 @@ public enum BusinessType * 检查操作 */ CHECK, + + /** + * 密码重置 + */ + RESET, + }