|
@@ -119,6 +119,7 @@ public class ArticlePromotionService {
|
|
|
return;
|
|
|
}
|
|
|
try {
|
|
|
+ String level = pos.equals("【1】") ? contentPoolType.get(0) : contentPoolType.get(1);
|
|
|
String produceId = produceConfig.get(accountNickName).get(pos).get(way).trim();
|
|
|
List<ProduceContentListItemVO> contentList = getProduceContentList(accountNickName, pos, way);
|
|
|
// 获取已访问的标题和URL
|
|
@@ -144,7 +145,6 @@ public class ArticlePromotionService {
|
|
|
filterUrlList.add(url);
|
|
|
// 调用爬虫 detail 接口并保存数据
|
|
|
WxContentDetailResponse detail = getArticleDetail(url);
|
|
|
- String level = pos.equals("【1】") ? contentPoolType.get(0) : contentPoolType.get(1);
|
|
|
if (detail != null && StringUtils.hasText(detail.getChannelContentId())) {
|
|
|
saveArticlePoolPromotionSource(detail.getChannelContentId(), wxSn, title, level);
|
|
|
} else {
|