|
@@ -3,6 +3,7 @@ package com.tzld.longarticle.recommend.server.service.recommend;
|
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.ctrip.framework.apollo.spring.annotation.ApolloJsonValue;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
|
|
import com.tzld.longarticle.recommend.server.common.CommonThreadPoolExecutor;
|
|
@@ -103,6 +104,8 @@ public class ArticleAuditService {
|
|
|
@Autowired
|
|
|
private DangerFaceRecognizeService dangerFaceRecognizeService;
|
|
|
|
|
|
+ @ApolloJsonValue("${notDeleteArticleAccountGhIds:[]}")
|
|
|
+ private List<String> notDeleteArticleAccountGhIds;
|
|
|
|
|
|
@XxlJob("articleVideoAudit")
|
|
|
public ReturnT<String> articleVideoAudit(String param) {
|
|
@@ -888,6 +891,9 @@ public class ArticleAuditService {
|
|
|
String groupPushMsgId = pushIdMap.get(push.getPushId());
|
|
|
String publishAccountId = pushAccountMap.get(push.getPushId());
|
|
|
String ghId = publishAccountMap.get(publishAccountId);
|
|
|
+ if (notDeleteArticleAccountGhIds.contains(ghId)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
List<PublishGzhPushContentRelDTO> relList = groupPushRelMap.get(push.getPushId()).stream()
|
|
|
.sorted(Comparator.comparing(PublishGzhPushContentRelDTO::getId)).collect(Collectors.toList());
|
|
|
Map<String, Integer> articleIndexMap = new HashMap<>();
|