|
@@ -619,10 +619,11 @@ public class CoreServiceImpl implements CoreService {
|
|
|
if (publishContent == null) {
|
|
|
continue;
|
|
|
}
|
|
|
- //临时逻辑 代运营计划不发小程序
|
|
|
- boolean isDYY = StringUtils.isNotEmpty(planAccount.getPlanName()) && planAccount.getPlanName().contains("代运营");
|
|
|
+ //临时逻辑 白名单内发小程序
|
|
|
+ List<String> whiteList = new ArrayList<>();
|
|
|
+ boolean isWhiteAccount = whiteList.contains(planAccount.getAccountId());
|
|
|
//判断是否插入小程序
|
|
|
- if (!isDYY && planAccount.getMiniprogramInsertFlag() != null && planAccount.getMiniprogramInsertFlag() == 1) {
|
|
|
+ if (isWhiteAccount && planAccount.getMiniprogramInsertFlag() != null && planAccount.getMiniprogramInsertFlag() == 1) {
|
|
|
//获取小程序
|
|
|
List<PublishMiniprogram> publishMiniprogramList = publicContentService.getPublishMiniprograms(publishContent);
|
|
|
//不存在则重新生成
|