修改首页系统入口顺序
This commit is contained in:
parent
7d8eb5f499
commit
faba333c58
@ -59,7 +59,7 @@ public class CustomIndexPageRouteController {
|
|||||||
List<String> roleIds = securityComponent.listRoleIds();
|
List<String> roleIds = securityComponent.listRoleIds();
|
||||||
if (securityComponent.isAdmin(roleIds)) {
|
if (securityComponent.isAdmin(roleIds)) {
|
||||||
List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimple();
|
List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimple();
|
||||||
oAuth2ClientSimpleDTOs.add(getUserCenter());
|
oAuth2ClientSimpleDTOs.add(0, getUserCenter());
|
||||||
return oAuth2ClientSimpleDTOs;
|
return oAuth2ClientSimpleDTOs;
|
||||||
}
|
}
|
||||||
// 自己角色的菜单
|
// 自己角色的菜单
|
||||||
@ -78,7 +78,7 @@ public class CustomIndexPageRouteController {
|
|||||||
}
|
}
|
||||||
List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimpleByMenuIdsAndEnvironment(rootMenuIds, IOAuth2ClientService.OAUTH_CLIENT_ENVIRONMENT_FORMAL);
|
List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimpleByMenuIdsAndEnvironment(rootMenuIds, IOAuth2ClientService.OAUTH_CLIENT_ENVIRONMENT_FORMAL);
|
||||||
if (hasUserCenter(rootMenuIds)) {
|
if (hasUserCenter(rootMenuIds)) {
|
||||||
oAuth2ClientSimpleDTOs.add(getUserCenter());
|
oAuth2ClientSimpleDTOs.add(0, getUserCenter());
|
||||||
}
|
}
|
||||||
return oAuth2ClientSimpleDTOs;
|
return oAuth2ClientSimpleDTOs;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user