فهرست منبع

rematch暂时取消

wangyunpeng 6 ماه پیش
والد
کامیت
21ec09f020

+ 12 - 12
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/ArticleVideoAuditService.java

@@ -120,18 +120,18 @@ public class ArticleVideoAuditService {
     }
 
     private void auditArticleReject(LongArticleTitleAudit titleAudit) {
-        // reMatch
-        List<LongArticleCrawlerVideo> videoList = crawlerVideoRepository.getByContentIdAndIsIllegal(titleAudit.getContentId(), 1);
-        if (CollectionUtils.isNotEmpty(videoList)) {
-            for (LongArticleCrawlerVideo video : videoList) {
-                ArticleReMatchRecord reMatchRecord = new ArticleReMatchRecord();
-                reMatchRecord.setContentId(titleAudit.getContentId());
-                reMatchRecord.setOssPath(video.getVideoOssPath());
-                reMatchRecord.setStatus(0);
-                reMatchRecord.setCreateTimestamp(System.currentTimeMillis() / 1000);
-                articleReMatchRecordRepository.save(reMatchRecord);
-            }
-        }
+        // reMatch 暂时取消
+//        List<LongArticleCrawlerVideo> videoList = crawlerVideoRepository.getByContentIdAndIsIllegal(titleAudit.getContentId(), 1);
+//        if (CollectionUtils.isNotEmpty(videoList)) {
+//            for (LongArticleCrawlerVideo video : videoList) {
+//                ArticleReMatchRecord reMatchRecord = new ArticleReMatchRecord();
+//                reMatchRecord.setContentId(titleAudit.getContentId());
+//                reMatchRecord.setOssPath(video.getVideoOssPath());
+//                reMatchRecord.setStatus(0);
+//                reMatchRecord.setCreateTimestamp(System.currentTimeMillis() / 1000);
+//                articleReMatchRecordRepository.save(reMatchRecord);
+//            }
+//        }
         // publish_content
         publishContentMapper.updatePublishContentStatus(titleAudit.getContentId(),
                 PublishContentStatusEnum.gzh_article_deprecated.getVal(),