修改proxy的在线帮助

This commit is contained in:
zhangwei
2018-11-20 17:37:04 +08:00
parent b88bf5beca
commit 255d6660e2
6 changed files with 1168 additions and 18 deletions

View File

@@ -32,26 +32,32 @@ public class SystemController extends BaseController{
boolean topShow = false;
for(SysMenu second:menu.getChildren()){
boolean secondShow = false;
if(!StringUtil.isEmpty(second.getChildren())&&second.getIsShow()==1){
for(SysMenu third:second.getChildren()){
boolean thirdShow = false;
if(!StringUtil.isEmpty(third.getChildren())&&third.getIsShow()==1){
for(SysMenu fourth:third.getChildren()){
if(!StringUtil.isEmpty(fourth.getMenuBg())&&fourth.getIsShow()==1){
newList.add(fourth);
if(second.getIsShow()==1){
if(!StringUtil.isEmpty(second.getMenuBg())){
secondShow = true;
}
if(!StringUtil.isEmpty(second.getChildren())){
for(SysMenu third:second.getChildren()){
boolean thirdShow = false;
if(third.getIsShow()==1){
if(!StringUtil.isEmpty(third.getMenuBg())){
thirdShow = true;
secondShow = true;
}
if(!StringUtil.isEmpty(third.getChildren())){
for(SysMenu fourth:third.getChildren()){
if(!StringUtil.isEmpty(fourth.getMenuBg())&&fourth.getIsShow()==1){
newList.add(fourth);
thirdShow = true;
secondShow = true;
}
}
}
}
}else{
if(!StringUtil.isEmpty(third.getMenuBg())&&third.getIsShow()==1){
thirdShow = true;
secondShow = true;
if(thirdShow){
newList.add(third);
}
}
if(thirdShow){
newList.add(third);
}
}
if(secondShow){
@@ -59,10 +65,6 @@ public class SystemController extends BaseController{
topShow = true;
}
}else{
if(!StringUtil.isEmpty(second.getMenuBg())&&second.getIsShow()==1){
topShow = true;
}
}
}
if(topShow){