|
@@ -7,7 +7,6 @@ import com.tzld.longarticle.recommend.server.common.ThreadPoolFactory;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.StatusEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.recommend.ArticleCategoryStatusEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.recommend.ArticlePoolPromotionSourceStatusEnum;
|
|
|
-import com.tzld.longarticle.recommend.server.common.enums.recommend.ArticleTypeEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.recommend.FeishuRobotIdEnum;
|
|
|
import com.tzld.longarticle.recommend.server.mapper.crawler.CrawlerBaseMapper;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.Content;
|
|
@@ -371,15 +370,15 @@ public class RecallService implements ApplicationContextAware {
|
|
|
article.setInnerAccount(true);
|
|
|
avgViewCount = Optional.ofNullable(indexMap.get(hisArticle.getItemIndex().toString()).getReadAvg())
|
|
|
.orElse(0.0).intValue();
|
|
|
- } else {
|
|
|
- if (ArticleTypeEnum.QUNFA.getVal().equals(type)) {
|
|
|
- FeishuMessageSender.sendWebHookMessage(FeishuRobotIdEnum.RECOMMEND.getRobotId(),
|
|
|
- "历史表现阅读均值获取失败\n"
|
|
|
- + "ghId: " + hisArticle.getGhId() + "\n"
|
|
|
- + "账号名称: " + hisArticle.getAccountName() + "\n"
|
|
|
- + "日期: " + hisPublishDate + "\n"
|
|
|
- + "位置: " + hisArticle.getItemIndex());
|
|
|
- }
|
|
|
+// } else {
|
|
|
+// if (ArticleTypeEnum.QUNFA.getVal().equals(type)) {
|
|
|
+// FeishuMessageSender.sendWebHookMessage(FeishuRobotIdEnum.RECOMMEND.getRobotId(),
|
|
|
+// "历史表现阅读均值获取失败\n"
|
|
|
+// + "ghId: " + hisArticle.getGhId() + "\n"
|
|
|
+// + "账号名称: " + hisArticle.getAccountName() + "\n"
|
|
|
+// + "日期: " + hisPublishDate + "\n"
|
|
|
+// + "位置: " + hisArticle.getItemIndex());
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
article.setAvgViewCount(avgViewCount);
|