Commit 7cac9668 by 陶光胜

导航ext过滤关闭tabbar

parent 80dd6e39
......@@ -156,7 +156,7 @@ public class CustomGuideApiServiceImpl implements CustomGuideApiService {
guideSize++;
}
}
if(pathSet.size() != guideList.size()) {
if(pathSet.size() != guideSize) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "存在相同的路径");
}
Map<String, Object> tabBar = new HashMap<String, Object>();
......
......@@ -136,7 +136,8 @@ public class CustomGuideController {
}else if(guideDTO.getCustomLinkType().equals(linkType)){ //类型为其他
List<String> listCustomPage = Arrays.asList("pages/customView/customView1","pages/customView/customView2",
"pages/customView/customView3","pages/customView/customView4","pages/customView/customView5");
for(String path : listCustomPage){
guideDTO.setCustomPage("pages/customView/customView"+ (guideDTO.getSort().intValue()+1));
/**for(String path : listCustomPage){
boolean exist = false;
for(CustomGuideDTO dto : list){
if(path.equals(dto.getCustomPage())){
......@@ -144,9 +145,8 @@ public class CustomGuideController {
}
}
if(!exist){
guideDTO.setCustomPage(path);
}
}
}*/
}else { //类型选择为1-6
for(GuideTypeDTO guideTypeDTO : guideTypeDTOList){
if(guideDTO.getCustomLinkType().equals(guideTypeDTO.getGuideType())){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment