Commit 33fe58b0 by guojuxing

自定义页面保存修复

parent b744576d
......@@ -121,6 +121,15 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
}
}
//判断,如果是会员中心/客服页面,只能发布一条记录,自定义页面可以多条
if (saveType.intValue() == 1) {
//保存并发布
if (AppletPageTypeEnum.isOnlyOneCode(pageType)) {
//把其他的数据状态改为关闭
appletCustomPageService.disableFetch(enterpriseId, appType, appId, pageType);
}
}
//新增或者编辑
if (pageId == null) {
pageId = appletCustomPageService.save(record);
......@@ -183,14 +192,6 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
}
}
//判断,如果是会员中心/客服页面,只能发布一条记录,自定义页面可以多条
if (saveType.intValue() == 1) {
//保存并发布
if (AppletPageTypeEnum.isOnlyOneCode(pageType)) {
//把其他的数据状态改为关闭
appletCustomPageService.disableFetch(enterpriseId, appType, appId, pageType);
}
}
//如果是会员中心,商户初始化回调
if (pageType == AppletPageTypeEnum.MEMBER_CENTER.getCode()) {
this.customStoreApiService.customSettingHasCommpleted(enterpriseId);
......
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