diff --git a/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java b/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java index 6723d90..6295178 100644 --- a/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java +++ b/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java @@ -58,7 +58,7 @@ public class CustomIndexPageRouteController { private List listOAuth2ClientOfMine() { List roleIds = securityComponent.listRoleIds(); if (securityComponent.isAdmin(roleIds)) { - List oAuth2ClientSimpleDTOs = oauth2ClientService.listSimple(); + List oAuth2ClientSimpleDTOs = oauth2ClientService.listSimpleByEnvironment(IOAuth2ClientService.OAUTH_CLIENT_ENVIRONMENT_FORMAL); oAuth2ClientSimpleDTOs.add(0, getUserCenter()); return oAuth2ClientSimpleDTOs; } diff --git a/src/main/resources/static/assets/custom/index/css/style.css b/src/main/resources/static/assets/custom/index/css/style.css index 7c71464..ef36bb3 100644 --- a/src/main/resources/static/assets/custom/index/css/style.css +++ b/src/main/resources/static/assets/custom/index/css/style.css @@ -5,7 +5,7 @@ .btn{float:right} .btn a{font-size:.2rem;color:#00f5ff;text-shadow:0 0 5px #fff;display:inline-block;margin-right:.2rem} .main{margin:1rem auto;width:95%;overflow:hidden} -.main-container{width:105%;height:6.5rem;overflow-y:auto} +.main-container{width:105%;height:5.5rem;overflow-y:auto} .main-container:after{content:'';display:block;clear:both} .guide-box{display:block;float:left;width:3.5rem;height:2.75rem;position:relative;background:url(../images/box-bg.png) no-repeat center;background-size:100% 100%;margin-right:1rem;margin-bottom:.5rem} .guide-box:nth-child(4n){margin-right:0}