Commit 62270fb7 by guojuxing

积分服务页面只能开启15个编辑调整

parent cffe6af1
...@@ -543,7 +543,7 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic ...@@ -543,7 +543,7 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
private void validIntegralServicePageNum(Integer pageId, Integer pageType, Integer saveType, Integer enterpriseId, Integer appType, String appId) { private void validIntegralServicePageNum(Integer pageId, Integer pageType, Integer saveType, Integer enterpriseId, Integer appType, String appId) {
//如果是积分服务页面并且是保存并发布,则校验,不能超过15条 //如果是积分服务页面并且是保存并发布,则校验,不能超过15条
if (pageType == AppletPageTypeEnum.INTEGRAL_SERVICE.getCode() && saveType == 1) { if (pageType == AppletPageTypeEnum.INTEGRAL_SERVICE.getCode() && saveType == 1) {
TabAppletCustomPage record = exist(pageId); TabAppletCustomPage record = appletCustomPageService.getByPageId(pageId);
if (record != null && record.getStatus() == 1) { if (record != null && record.getStatus() == 1) {
//如果本身就是发布状态,则不占用名额 //如果本身就是发布状态,则不占用名额
return; return;
......
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