Commit 5868a92a by guojuxing

会员中心页面和卡券详情页面不能超过5个页面

parent 60edcbe8
......@@ -128,7 +128,7 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
boolean isCouponOrMemberCenterPage = pageType == AppletPageTypeEnum.MEMBER_CENTER.getCode() || pageType == AppletPageTypeEnum.CARD_DETAIL_LIST.getCode();
if (isCouponOrMemberCenterPage) {
//如果是卡券或者会员中心
if (isAddOperation && count > 5) {
if (isAddOperation && count >= 5) {
throw new CommonException(ErrorCode.PARAMETER_ERROR.getCode(), "页面超过5个");
}
}
......
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