|
@@ -61,12 +61,12 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuDao, SysMenuEntity> i
|
|
|
public List<SysMenuEntity> getUserMenuList(Long userId) {
|
|
|
//系统管理员,拥有最高权限
|
|
|
if(userId == Constant.SUPER_ADMIN){
|
|
|
- return getAllMenuList(null);
|
|
|
+ return getMenuList(null);
|
|
|
}
|
|
|
|
|
|
//用户菜单列表
|
|
|
List<Long> menuIdList = sysUserService.queryAllMenuId(userId);
|
|
|
- return getAllMenuList(menuIdList);
|
|
|
+ return getMenuList(menuIdList);
|
|
|
}
|
|
|
|
|
|
/**
|