From 1016ac379bedda79e6523842bc7e6163f0960e02 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 26 Jun 2024 16:05:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=A5=E5=BF=97=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/monitor/SysLogininforController.java | 2 +- .../src/main/java/com/ruoyi/common/enums/BusinessType.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java index 0d30e42..701c34e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java @@ -83,7 +83,7 @@ public class SysLogininforController extends BaseController } @RequiresPermissions("monitor:logininfor:unlock") - @Log(title = "账户解锁", businessType = BusinessType.OTHER) + @Log(title = "账户解锁", businessType = BusinessType.UNLOCKING) @PostMapping("/unlock") @ResponseBody public AjaxResult unlock(String loginName) 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 a61d42c..cdfd49e 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 @@ -82,4 +82,9 @@ public enum BusinessType */ RESET, + /** + * 账户解锁 + */ + UNLOCKING, + }