wangyunpeng hace 10 meses
padre
commit
2a4c0b987a

+ 10 - 6
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recall/RecallService.java

@@ -342,12 +342,16 @@ public class RecallService implements ApplicationContextAware {
                 continue;
             }
             if (CollectionUtils.isEmpty(article.getArticleDetailInfoList())) {
-                FeishuMessageSender.sendWebHookMessage("07026a9f-43f5-448b-ba40-a8d71bd6e634", "历史表现裂变特征获取失败\n"
-                        + "ghId: " + article.getGhId() + "\n"
-                        + "账号名称: " + article.getAccountName() + "\n"
-                        + "位置: " + article.getItemIndex() + "\n"
-                        + "标题: " + article.getTitle() + "\n"
-                        + "wxsn: " + article.getWxSn());
+                // 仅判断7.12以后发布文章
+                if (article.getUpdateTime() > 1720713600) {
+                    FeishuMessageSender.sendWebHookMessage("07026a9f-43f5-448b-ba40-a8d71bd6e634", "历史表现裂变特征获取失败\n"
+                            + "ghId: " + article.getGhId() + "\n"
+                            + "账号名称: " + article.getAccountName() + "\n"
+                            + "位置: " + article.getItemIndex() + "\n"
+                            + "标题: " + article.getTitle() + "\n"
+                            + "发布时间: " + DateUtils.timestampToYMDStr(article.getUpdateTime(), "yyyyMMdd") + "\n"
+                            + "wxsn: " + article.getWxSn());
+                }
                 continue;
             }
             int sumFission0 = 0;