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, }