Commit 1ea2b8e5 by 陶光胜

1

parent ab4b666c
......@@ -11,6 +11,7 @@ import com.gic.enterprise.dto.EnterpriseDTO;
import com.gic.enterprise.dto.GuideTypeDTO;
import com.gic.enterprise.entity.TabCustomGuide;
import com.gic.enterprise.entity.TabGuideType;
import com.gic.enterprise.error.ErrorCode;
import com.gic.enterprise.service.*;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
......@@ -127,7 +128,7 @@ public class CustomGuideApiServiceImpl implements CustomGuideApiService {
tabBarList.add(listMap);
}
if(pathSet.size() != guideList.size()) {
throw new IllegalArgumentException("底部导航链接配置存在相同的page");
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "存在相同的路径");
}
Map<String, Object> tabBar = new HashMap<String, Object>();
tabBar.put("color", "#999999");
......
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