mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-09 05:39:13 +00:00
修复注释与参数名称不对应
This commit is contained in:
@@ -7,7 +7,7 @@ public interface ISysPermissionService
|
||||
/**
|
||||
* 获取角色数据权限
|
||||
*
|
||||
* @param user 用户信息
|
||||
* @param userId 用户Id
|
||||
* @return 角色权限信息
|
||||
*/
|
||||
public Set<String> getRolePermission(Long userId);
|
||||
@@ -15,7 +15,7 @@ public interface ISysPermissionService
|
||||
/**
|
||||
* 获取菜单数据权限
|
||||
*
|
||||
* @param user 用户信息
|
||||
* @param userId 用户Id
|
||||
* @return 菜单权限信息
|
||||
*/
|
||||
public Set<String> getMenuPermission(Long userId);
|
||||
|
@@ -22,9 +22,10 @@ public class SysPermissionServiceImpl implements ISysPermissionService
|
||||
/**
|
||||
* 获取角色数据权限
|
||||
*
|
||||
* @param user 用户信息
|
||||
* @param userId 用户Id
|
||||
* @return 角色权限信息
|
||||
*/
|
||||
@Override
|
||||
public Set<String> getRolePermission(Long userId)
|
||||
{
|
||||
Set<String> roles = new HashSet<String>();
|
||||
@@ -43,9 +44,10 @@ public class SysPermissionServiceImpl implements ISysPermissionService
|
||||
/**
|
||||
* 获取菜单数据权限
|
||||
*
|
||||
* @param user 用户信息
|
||||
* @param userId 用户Id
|
||||
* @return 菜单权限信息
|
||||
*/
|
||||
@Override
|
||||
public Set<String> getMenuPermission(Long userId)
|
||||
{
|
||||
Set<String> perms = new HashSet<String>();
|
||||
|
Reference in New Issue
Block a user