From 3b15d1ccf0a800dec7d3f331751c860fc23c3669 Mon Sep 17 00:00:00 2001 From: 20918 <2091823062@qq.com> Date: Tue, 16 Apr 2024 10:46:44 +0800 Subject: [PATCH] userexamine --- .../web/controller/system/SysUserExamineController.java | 6 +++--- .../src/main/java/com/ruoyi/common/enums/BusinessType.java | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java index 6bcbd88..9f0713a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java @@ -92,9 +92,9 @@ public class SysUserExamineController extends BaseController { /** * 打印界面 */ - @RequiresPermissions("system:userexamine:examinepaint") - @Log(title = "用户审核", businessType = BusinessType.EXAMINE) - @GetMapping("/examinepaint/{userId}") + @RequiresPermissions("system:userexamine:examineprint") + @Log(title = "用户审核", businessType = BusinessType.PRINT) + @GetMapping("/examineprint/{userId}") @ResponseBody public SysUser paint(@PathVariable("userId") Long userId) { 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 9fc5c07..21b677e 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 @@ -66,4 +66,9 @@ public enum BusinessType * 审核操作 */ EXAMINE, + + /** + * 打印操作 + */ + PRINT, }