Browse Source

Merge branch 'dev-xym-add-match-start' of Server/long-article-manage into master

xueyiming 4 months ago
parent
commit
031acb8bd0

+ 4 - 2
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -233,13 +233,15 @@ public class ContentServiceImpl implements ContentService {
         List<CrawlerVideo> contentMiniVideos = getContentMiniVideo(matchVideo.getContentId(), publicFlag, planAccount);
         log.info("getPublishVideoDetail contentMiniVideos={}", contentMiniVideos);
         if (CollectionUtils.isEmpty(contentMiniVideos)) {
-            LarkRobotUtil.sendMessage("文章获取小程序为空 matchVideo.getContentId" + matchVideo.getContentId());
+            LarkRobotUtil.sendMessage("文章获取小程序为空 matchVideo.getContentId=" + matchVideo.getContentId()
+                    + "planId=" + planAccount.getPlanId() + "accountName=" + planAccount.getAccountName());
+            log.info("文章获取小程序为空 matchVideo={} planAccount={}", matchVideo, planAccount);
             return new ArrayList<>();
         }
         List<VideoDetail> videoDetails = publishVideo(contentMiniVideos, matchVideo);
         log.info("getPublishVideoDetail videoDetails={}", videoDetails);
         if (CollectionUtils.isEmpty(videoDetails)) {
-            LarkRobotUtil.sendMessage("发布后小程序为空 matchVideo.getContentId" + matchVideo.getContentId());
+            LarkRobotUtil.sendMessage("发布后小程序为空 matchVideo.getContentId=" + matchVideo.getContentId());
             return new ArrayList<>();
         }
         return videoDetails;