From 8555f974846ca5b4f4734f52b51e39cd4502df44 Mon Sep 17 00:00:00 2001 From: DESKTOP-71BH0QO\L、ming <172680469@qq.com> Date: 星期五, 02 四月 2021 15:46:30 +0800 Subject: [PATCH] fix:修改bug --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/RoleService.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/RoleService.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/RoleService.java index 6fd2ead..4518384 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/RoleService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/RoleService.java @@ -63,4 +63,17 @@ * @return 设置结果 */ R putMenuRole(MenuRoleVO menuRoleVO); + /** + * 用户菜单获取 + * @param userId 登录用户id + * @return 用户菜单 + */ + R listmenu(Long userId); + + /** + * 获取角色的权限配置列表 + * @param roleId 角色id + * @return 菜单列表 + */ + R listMenuBackstageByRole(Long roleId); } -- Gitblit v1.7.1