From 036144b9eaaa782a9728298d376200dabe40ae36 Mon Sep 17 00:00:00 2001 From: 捏造的信仰 <yiding.he@gmail.com> Date: 星期三, 07 九月 2022 11:00:51 +0800 Subject: [PATCH] 插入 SysOperLog 时,限制 operUrl 属性的长度 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java index 59009be..8b77dae 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java @@ -39,6 +39,14 @@ public Set<String> selectMenuPermsByUserId(Long userId); /** + * 鏍规嵁瑙掕壊ID鏌ヨ鏉冮檺 + * + * @param roleId 瑙掕壊ID + * @return 鏉冮檺鍒楄〃 + */ + public Set<String> selectMenuPermsByRoleId(Long roleId); + + /** * 鏍规嵁鐢ㄦ埛ID鏌ヨ鑿滃崟鏍戜俊鎭� * * @param userId 鐢ㄦ埛ID -- Gitblit v1.9.3