wangyunpeng пре 1 дан
родитељ
комит
a89ed735ba
25 измењених фајлова са 78 додато и 78 уклоњено
  1. 5 5
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/MatchVideoJob.java
  2. 4 4
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/NewMatchVideoJob.java
  3. 7 7
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/PlanAccountJob.java
  4. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CardServiceImpl.java
  5. 2 2
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java
  6. 4 4
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java
  7. 2 2
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CrawlerVideoServiceImpl.java
  8. 3 3
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/MatchVideoServiceImpl.java
  9. 4 4
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/NewMatchVideoServiceImpl.java
  10. 3 3
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/VideoMultiServiceImpl.java
  11. 13 13
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/AigcServiceImpl.java
  12. 8 8
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/ManagerApiServiceImpl.java
  13. 3 3
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/MatchServiceImpl.java
  14. 2 2
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/SortServiceImpl.java
  15. 3 3
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/VideoServiceImpl.java
  16. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/ConfigUtil.java
  17. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/HttpPoolClientUtil.java
  18. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/LarkRobotUtil.java
  19. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/VideoUtils.java
  20. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/DeepSeek.java
  21. 4 4
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/HkspSearch.java
  22. 2 2
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/KimiAPI.java
  23. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/NlpUtils.java
  24. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/OSSUploader.java
  25. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

+ 5 - 5
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/MatchVideoJob.java

@@ -29,7 +29,7 @@ public class MatchVideoJob {
             matchVideoService.kimiContent();
             matchVideoService.kimiContent();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("kimiContentJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("kimiContentJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("kimiContentJob error", e);
+            log.error("kimiContentJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -40,7 +40,7 @@ public class MatchVideoJob {
             matchVideoService.matchCrawlerVideo();
             matchVideoService.matchCrawlerVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("matchCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("matchCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("matchCrawlerVideoJob error", e);
+            log.error("matchCrawlerVideoJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -51,7 +51,7 @@ public class MatchVideoJob {
             matchVideoService.uploadCrawlerVideo();
             matchVideoService.uploadCrawlerVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("uploadCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("uploadCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("uploadCrawlerVideoJob error", e);
+            log.error("uploadCrawlerVideoJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -63,7 +63,7 @@ public class MatchVideoJob {
             matchVideoService.publishCrawlerVideo();
             matchVideoService.publishCrawlerVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("publishCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("publishCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("publishCrawlerVideoJob error", e);
+            log.error("publishCrawlerVideoJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -74,7 +74,7 @@ public class MatchVideoJob {
             matchVideoService.updateRovn();
             matchVideoService.updateRovn();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("updateRovnJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("updateRovnJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("updateRovnJob error", e);
+            log.error("updateRovnJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }

+ 4 - 4
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/NewMatchVideoJob.java

@@ -74,7 +74,7 @@ public class NewMatchVideoJob {
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
                 LarkRobotUtil.sendMessage("matchContentJob异常,contentId:"+matchContentItem.getProduceContentId()+", 请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
                 LarkRobotUtil.sendMessage("matchContentJob异常,contentId:"+matchContentItem.getProduceContentId()+", 请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-                log.error("matchContentJob error", e);
+                log.error("matchContentJob error:{}", e.getMessage());
             }
             }
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
@@ -86,7 +86,7 @@ public class NewMatchVideoJob {
             newMatchVideoService.kimiContent();
             newMatchVideoService.kimiContent();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("kimiContentJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("kimiContentJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("kimiContentJob error", e);
+            log.error("kimiContentJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -97,7 +97,7 @@ public class NewMatchVideoJob {
             newMatchVideoService.matchCrawlerVideo();
             newMatchVideoService.matchCrawlerVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("newMatchCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("newMatchCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("newMatchCrawlerVideoJob error", e);
+            log.error("newMatchCrawlerVideoJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -108,7 +108,7 @@ public class NewMatchVideoJob {
             newMatchVideoService.uploadCrawlerVideo();
             newMatchVideoService.uploadCrawlerVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("newUploadCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("newUploadCrawlerVideoJob异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("newUploadCrawlerVideoJob error", e);
+            log.error("newUploadCrawlerVideoJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }

+ 7 - 7
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/job/PlanAccountJob.java

@@ -33,7 +33,7 @@ public class PlanAccountJob {
             coreService.initAccountSpecialSettings();
             coreService.initAccountSpecialSettings();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("例外设置异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("例外设置异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("initAccountSpecialSettings error", e);
+            log.error("initAccountSpecialSettings error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -45,7 +45,7 @@ public class PlanAccountJob {
             coreService.initPlanAccount();
             coreService.initPlanAccount();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("长文系统初始化异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("长文系统初始化异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("initPlanAccountJob error", e);
+            log.error("initPlanAccountJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -56,7 +56,7 @@ public class PlanAccountJob {
             coreService.matchContent();
             coreService.matchContent();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("长文系统匹配异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("长文系统匹配异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("matchPlanAccountJob error", e);
+            log.error("matchPlanAccountJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -67,7 +67,7 @@ public class PlanAccountJob {
             coreService.core();
             coreService.core();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("长文系统核心流程异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("长文系统核心流程异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("corePlanAccountJob error", e);
+            log.error("corePlanAccountJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -78,7 +78,7 @@ public class PlanAccountJob {
             coreService.getPushStatus();
             coreService.getPushStatus();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("长文系统获取结果异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
             LarkRobotUtil.sendMessage("长文系统获取结果异常,请及时查看,<at user_id=\"g6732afb\">王云鹏</at>");
-            log.error("getPushStatusJob error", e);
+            log.error("getPushStatusJob error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -89,7 +89,7 @@ public class PlanAccountJob {
             coverService.getEffectiveVideo();
             coverService.getEffectiveVideo();
         } catch (Exception e) {
         } catch (Exception e) {
             LarkRobotUtil.sendMessage("长文系统查询可用视频失败");
             LarkRobotUtil.sendMessage("长文系统查询可用视频失败");
-            log.error("getEffectiveVideo error", e);
+            log.error("getEffectiveVideo error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }
@@ -106,7 +106,7 @@ public class PlanAccountJob {
                 articleUseGroupMapper.updateByExampleSelective(articleUseGroup, example);
                 articleUseGroupMapper.updateByExampleSelective(articleUseGroup, example);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("updateRemainingCount error", e);
+            log.error("updateRemainingCount error:{}", e.getMessage());
         }
         }
         return ReturnT.SUCCESS;
         return ReturnT.SUCCESS;
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CardServiceImpl.java

@@ -131,7 +131,7 @@ public class CardServiceImpl implements CardService {
             }
             }
             return sb.toString();
             return sb.toString();
         } catch (NoSuchAlgorithmException e) {
         } catch (NoSuchAlgorithmException e) {
-            log.error("CardServiceImpl md5 error", e);
+            log.error("CardServiceImpl md5 error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }

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

@@ -155,7 +155,7 @@ public class ContentServiceImpl implements ContentService {
             matchVideoMapper.updateByPrimaryKeySelective(updateMatchVideo);
             matchVideoMapper.updateByPrimaryKeySelective(updateMatchVideo);
             publicContentService.updatePublishContentTraceId(traceId, publishContent.getId());
             publicContentService.updatePublishContentTraceId(traceId, publishContent.getId());
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("updateMatchContent error", e);
+            log.error("updateMatchContent error:{}", e.getMessage());
         }
         }
     }
     }
 
 
@@ -524,7 +524,7 @@ public class ContentServiceImpl implements ContentService {
             log.info("getContentMiniVideo crawlerVideoList={}", crawlerVideoList);
             log.info("getContentMiniVideo crawlerVideoList={}", crawlerVideoList);
             return crawlerVideoList;
             return crawlerVideoList;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getContentMiniVideo error", e);
+            log.error("getContentMiniVideo error:{}", e.getMessage());
         }
         }
         return new ArrayList<>();
         return new ArrayList<>();
     }
     }

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

@@ -171,7 +171,7 @@ public class CoreServiceImpl implements CoreService {
                     break;
                     break;
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("initPlanAccount error, retryCount: {}", retryCount, e);
+                log.error("initPlanAccount error, retryCount: {}", retryCount, e.getMessage());
             }
             }
             retryCount++;
             retryCount++;
         }
         }
@@ -448,7 +448,7 @@ public class CoreServiceImpl implements CoreService {
                                 }
                                 }
                             }
                             }
                         } catch (InterruptedException e) {
                         } catch (InterruptedException e) {
-                            log.error("匹配小程序线程异常", e);
+                            log.error("匹配小程序线程异常", e.getMessage());
                         }
                         }
                     }
                     }
                     log.info("启动匹配小程序线程结束");
                     log.info("启动匹配小程序线程结束");
@@ -484,7 +484,7 @@ public class CoreServiceImpl implements CoreService {
                     try {
                     try {
                         matchQueue.put(matchContent);
                         matchQueue.put(matchContent);
                     } catch (InterruptedException e) {
                     } catch (InterruptedException e) {
-                        log.error("matchQueue put error", e);
+                        log.error("matchQueue put error:{}", e.getMessage());
                     }
                     }
                 }
                 }
             }
             }
@@ -667,7 +667,7 @@ public class CoreServiceImpl implements CoreService {
                             }
                             }
                             operatePlanAccount(planAccount);
                             operatePlanAccount(planAccount);
                         } catch (Exception e) {
                         } catch (Exception e) {
-                            log.error("", e);
+                            log.error("", e.getMessage());
                         }
                         }
                     }
                     }
                     log.info("核心操作线程结束");
                     log.info("核心操作线程结束");

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

@@ -165,7 +165,7 @@ public class CrawlerVideoServiceImpl {
                     Files.delete(Paths.get(coverPath));
                     Files.delete(Paths.get(coverPath));
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("pushOss del file error", e);
+                log.error("pushOss del file error:{}", e.getMessage());
             }
             }
         }
         }
         crawlerVideo.setContentId(contentId);
         crawlerVideo.setContentId(contentId);
@@ -421,7 +421,7 @@ public class CrawlerVideoServiceImpl {
                         Files.delete(Paths.get(coverPath));
                         Files.delete(Paths.get(coverPath));
                     }
                     }
                 } catch (Exception e) {
                 } catch (Exception e) {
-                    log.error("pushOss del file error", e);
+                    log.error("pushOss del file error:{}", e.getMessage());
                 }
                 }
             }
             }
             if (count >= MAX_NUM) {
             if (count >= MAX_NUM) {

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/MatchVideoServiceImpl.java

@@ -169,7 +169,7 @@ public class MatchVideoServiceImpl {
                             }
                             }
                             processKimiMatchContent(matchVideo);
                             processKimiMatchContent(matchVideo);
                         } catch (Exception e) {
                         } catch (Exception e) {
-                            log.error("Kimi搜索线程异常", e);
+                            log.error("Kimi搜索线程异常 {}", e.getMessage());
                         }
                         }
                     }
                     }
                     log.info("启动Kimi搜索线程结束");
                     log.info("启动Kimi搜索线程结束");
@@ -387,7 +387,7 @@ public class MatchVideoServiceImpl {
                             }
                             }
                             processCrawlerMatchContent(matchVideo);
                             processCrawlerMatchContent(matchVideo);
                         } catch (Exception e) {
                         } catch (Exception e) {
-                            log.error("匹配小程序线程异常", e);
+                            log.error("匹配小程序线程异常 {}", e.getMessage());
                         }
                         }
                     }
                     }
                     log.info("启动匹配小程序线程结束");
                     log.info("启动匹配小程序线程结束");
@@ -506,7 +506,7 @@ public class MatchVideoServiceImpl {
                             }
                             }
                             processUploadCrawlerVideo(matchVideo);
                             processUploadCrawlerVideo(matchVideo);
                         } catch (Exception e) {
                         } catch (Exception e) {
-                            log.error("上传小程序视频线程异常", e);
+                            log.error("上传小程序视频线程异常 {}", e.getMessage());
                         }
                         }
                     }
                     }
                     log.info("上传小程序视频线程结束");
                     log.info("上传小程序视频线程结束");

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

@@ -132,7 +132,7 @@ public class NewMatchVideoServiceImpl implements NewMatchVideoService {
         try {
         try {
             newMatchVideoMapper.updateByPrimaryKeySelective(video);
             newMatchVideoMapper.updateByPrimaryKeySelective(video);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Failed to update video status for ID: {}", video.getContentId(), e);
+            log.error("Failed to update video status for ID: {} {}", video.getContentId(), e.getMessage());
         }
         }
     }
     }
 
 
@@ -165,7 +165,7 @@ public class NewMatchVideoServiceImpl implements NewMatchVideoService {
         try {
         try {
             updateSuccess = kimiService.updateKimiContent(newMatchVideo.getContentId());
             updateSuccess = kimiService.updateKimiContent(newMatchVideo.getContentId());
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Failed to update Kimi content for ID: {}", newMatchVideo.getContentId(), e);
+            log.error("Failed to update Kimi content for ID: {} {}", newMatchVideo.getContentId(), e.getMessage());
         }
         }
 
 
         updateVideoStatus(newMatchVideo, updateSuccess,
         updateVideoStatus(newMatchVideo, updateSuccess,
@@ -181,7 +181,7 @@ public class NewMatchVideoServiceImpl implements NewMatchVideoService {
             updateSuccess = crawlerVideoService.addCrawlerVideo(newMatchVideo.getContentId(),
             updateSuccess = crawlerVideoService.addCrawlerVideo(newMatchVideo.getContentId(),
                     newMatchVideo.getVideoPoolTraceId(), newMatchVideo.getPqVideoId(), rootContentId, kimiText);
                     newMatchVideo.getVideoPoolTraceId(), newMatchVideo.getPqVideoId(), rootContentId, kimiText);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Failed to crawler match video content for ID: {}", newMatchVideo.getContentId(), e);
+            log.error("Failed to crawler match video content for ID: {} {}", newMatchVideo.getContentId(), e.getMessage());
         }
         }
 
 
         updateVideoStatus(newMatchVideo, updateSuccess,
         updateVideoStatus(newMatchVideo, updateSuccess,
@@ -194,7 +194,7 @@ public class NewMatchVideoServiceImpl implements NewMatchVideoService {
         try {
         try {
             updateSuccess = crawlerVideoService.uploadCrawlerVideo(newMatchVideo.getContentId(), newMatchVideo.getFlowPoolLevel());
             updateSuccess = crawlerVideoService.uploadCrawlerVideo(newMatchVideo.getContentId(), newMatchVideo.getFlowPoolLevel());
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Failed to upload crawler video content for ID: {}", newMatchVideo.getContentId(), e);
+            log.error("Failed to upload crawler video content for ID: {} {}", newMatchVideo.getContentId(), e.getMessage());
         }
         }
 
 
         updateVideoStatus(newMatchVideo, updateSuccess,
         updateVideoStatus(newMatchVideo, updateSuccess,

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/VideoMultiServiceImpl.java

@@ -59,7 +59,7 @@ public class VideoMultiServiceImpl implements VideoMultiService {
                     extData.setGrowthTitleSource(titleSource);
                     extData.setGrowthTitleSource(titleSource);
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("VideoMultiService VideoMultiService Error,data:", e);
+                log.error("VideoMultiService VideoMultiService Error,data: {}", e.getMessage());
             }
             }
         }
         }
         if (Objects.isNull(extData.getGrowthTitleId())) {
         if (Objects.isNull(extData.getGrowthTitleId())) {
@@ -99,7 +99,7 @@ public class VideoMultiServiceImpl implements VideoMultiService {
                     extData.setGrowthCoverSource(coverSource);
                     extData.setGrowthCoverSource(coverSource);
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("VideoMultiService VideoMultiService Error,data:", e);
+                log.error("VideoMultiService VideoMultiService Error,data: {}", e.getMessage());
             }
             }
         }
         }
         if (Objects.isNull(extData.getGrowthCoverId())) {
         if (Objects.isNull(extData.getGrowthCoverId())) {
@@ -125,7 +125,7 @@ public class VideoMultiServiceImpl implements VideoMultiService {
             try {
             try {
                 pageUrl += URLEncoder.encode("&growthExtData=" + JSONObject.toJSONString(extData), "UTF-8");
                 pageUrl += URLEncoder.encode("&growthExtData=" + JSONObject.toJSONString(extData), "UTF-8");
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("VideoMultiService VideoMultiService Error,data:", e);
+                log.error("VideoMultiService VideoMultiService Error,data: {}", e.getMessage());
             }
             }
         }
         }
         return pageUrl;
         return pageUrl;

+ 13 - 13
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/AigcServiceImpl.java

@@ -37,7 +37,7 @@ public class AigcServiceImpl implements AigcService {
             }
             }
             return null;
             return null;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getAllLongArticleSystemPlan error", e);
+            log.error("getAllLongArticleSystemPlan error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -76,7 +76,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleSystemContentVO.class);
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleSystemContentVO.class);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("listWaitingMatchMiniprogramContents error", e);
+            log.error("listWaitingMatchMiniprogramContents error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -93,7 +93,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleSystemContentVO.class);
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleSystemContentVO.class);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("listWaitingSortContents error", e);
+            log.error("listWaitingSortContents error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -110,7 +110,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").getString("pushId");
                 return jsonObject.getJSONObject("data").getString("pushId");
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("createPushTask error", e);
+            log.error("createPushTask error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }
@@ -126,7 +126,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").getString("pushId");
                 return jsonObject.getJSONObject("data").getString("pushId");
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("createBatchGroupPushTask error", e);
+            log.error("createBatchGroupPushTask error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }
@@ -143,7 +143,7 @@ public class AigcServiceImpl implements AigcService {
                 return true;
                 return true;
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("updateMatchMiniprogramStatus error", e);
+            log.error("updateMatchMiniprogramStatus error:{}", e.getMessage());
         }
         }
         return false;
         return false;
     }
     }
@@ -159,7 +159,7 @@ public class AigcServiceImpl implements AigcService {
                 return true;
                 return true;
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("filterSortContents error", e);
+            log.error("filterSortContents error:{}", e.getMessage());
         }
         }
         return false;
         return false;
     }
     }
@@ -175,7 +175,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").toJavaObject(PushStatusVO.class);
                 return jsonObject.getJSONObject("data").toJavaObject(PushStatusVO.class);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("queryPushStatus error", e);
+            log.error("queryPushStatus error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -201,7 +201,7 @@ public class AigcServiceImpl implements AigcService {
                     return data.getString("wxUrl");
                     return data.getString("wxUrl");
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("pushCover error", e);
+                log.error("pushCover error:{}", e.getMessage());
             }
             }
             retey++;
             retey++;
         }
         }
@@ -223,7 +223,7 @@ public class AigcServiceImpl implements AigcService {
             }
             }
             return null;
             return null;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("pushCover error", e);
+            log.error("pushCover error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -243,7 +243,7 @@ public class AigcServiceImpl implements AigcService {
             }
             }
             return null;
             return null;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getSpecialSetting error", e);
+            log.error("getSpecialSetting error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -291,7 +291,7 @@ public class AigcServiceImpl implements AigcService {
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleMatchContent.class);
                 return jsonObject.getJSONObject("data").toJavaObject(LongArticleMatchContent.class);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("listWaitingMatchContents error", e);
+            log.error("listWaitingMatchContents error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -308,7 +308,7 @@ public class AigcServiceImpl implements AigcService {
                 return true;
                 return true;
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("updateMatchContentStatus error", e);
+            log.error("updateMatchContentStatus error:{}", e.getMessage());
         }
         }
         return false;
         return false;
     }
     }

+ 8 - 8
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/ManagerApiServiceImpl.java

@@ -32,8 +32,8 @@ public class ManagerApiServiceImpl implements ManagerApiService {
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             res = JSONObject.parseObject(post);
             res = JSONObject.parseObject(post);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("ManagerApiService videoMultiTitleSave error, videoId={} title={}",
-                    videoId, title, e);
+            log.error("ManagerApiService videoMultiTitleSave error, videoId={} title={}  {}",
+                    videoId, title, e.getMessage());
         }
         }
         if (Objects.isNull(res)) {
         if (Objects.isNull(res)) {
             return null;
             return null;
@@ -57,8 +57,8 @@ public class ManagerApiServiceImpl implements ManagerApiService {
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             res = JSONObject.parseObject(post);
             res = JSONObject.parseObject(post);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("ManagerApiService videoMultiCoverSave error, videoId={} coverUrl={}",
-                    videoId, coverUrl, e);
+            log.error("ManagerApiService videoMultiCoverSave error, videoId={} coverUrl={} {}",
+                    videoId, coverUrl, e.getMessage());
         }
         }
         if (Objects.isNull(res)) {
         if (Objects.isNull(res)) {
             return null;
             return null;
@@ -81,8 +81,8 @@ public class ManagerApiServiceImpl implements ManagerApiService {
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             res = JSONObject.parseObject(post);
             res = JSONObject.parseObject(post);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("ManagerApiService videoMultiCoverListV2 error, videoId={} range={}",
-                    videoId, "2h", e);
+            log.error("ManagerApiService videoMultiCoverListV2 error, videoId={} range={} {}",
+                    videoId, "2h", e.getMessage());
         }
         }
         if (Objects.isNull(res)) {
         if (Objects.isNull(res)) {
             return null;
             return null;
@@ -105,8 +105,8 @@ public class ManagerApiServiceImpl implements ManagerApiService {
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             String post = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(url, param.toJSONString());
             res = JSONObject.parseObject(post);
             res = JSONObject.parseObject(post);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("ManagerApiService videoMultiCoverListV2 error, videoId={} range={}",
-                    videoId, "4h", e);
+            log.error("ManagerApiService videoMultiCoverListV2 error, videoId={} range={} {}",
+                    videoId, "4h", e.getMessage());
         }
         }
         if (Objects.isNull(res)) {
         if (Objects.isNull(res)) {
             return null;
             return null;

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/MatchServiceImpl.java

@@ -40,7 +40,7 @@ public class MatchServiceImpl implements MatchService {
                 }
                 }
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("matchMiniprogramVideo error", e);
+            log.error("matchMiniprogramVideo error:{}", e.getMessage());
         }
         }
         //0 异常情况
         //0 异常情况
         return MatchRequestStatusEnum.HAS_EXCEPTION.getStatusCode();
         return MatchRequestStatusEnum.HAS_EXCEPTION.getStatusCode();
@@ -61,7 +61,7 @@ public class MatchServiceImpl implements MatchService {
                     return true;
                     return true;
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("addAudit error", e);
+                log.error("addAudit error:{}", e.getMessage());
             }
             }
             retry++;
             retry++;
         }
         }
@@ -80,7 +80,7 @@ public class MatchServiceImpl implements MatchService {
                     return true;
                     return true;
                 }
                 }
             } catch (Exception e) {
             } catch (Exception e) {
-                log.error("notHasMiniVideos error", e);
+                log.error("notHasMiniVideos error:{}", e.getMessage());
             }
             }
             retry++;
             retry++;
         }
         }

+ 2 - 2
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/SortServiceImpl.java

@@ -32,7 +32,7 @@ public class SortServiceImpl implements SortService {
                 response.setSuccessful(true);
                 response.setSuccessful(true);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("publishArticleSort recommend response parseObject", e);
+            log.error("publishArticleSort recommend response parseObject {}", e.getMessage());
         }
         }
         long endTime = System.currentTimeMillis();
         long endTime = System.currentTimeMillis();
         log.info("publishArticleSort request={} needTime={}", request, endTime - startTime);
         log.info("publishArticleSort request={} needTime={}", request, endTime - startTime);
@@ -48,7 +48,7 @@ public class SortServiceImpl implements SortService {
             String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.get(apiUrl);
             String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.get(apiUrl);
             log.info("addBatchGroupGZH ghId={} appId={} res={}", ghId, appId, res);
             log.info("addBatchGroupGZH ghId={} appId={} res={}", ghId, appId, res);
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("addBatchGroupGZH error", e);
+            log.error("addBatchGroupGZH error:{}", e.getMessage());
         }
         }
         long endTime = System.currentTimeMillis();
         long endTime = System.currentTimeMillis();
         log.info("addBatchGroupGZH request={} needTime={}", apiUrl, endTime - startTime);
         log.info("addBatchGroupGZH request={} needTime={}", apiUrl, endTime - startTime);

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/VideoServiceImpl.java

@@ -85,7 +85,7 @@ public class VideoServiceImpl implements VideoService {
             JSONObject jsonObject = JSONUtil.parseObj(body);
             JSONObject jsonObject = JSONUtil.parseObj(body);
             return jsonObject.getByPath("data.id", String.class); // 返回响应体
             return jsonObject.getByPath("data.id", String.class); // 返回响应体
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("publishToPQ error", e);
+            log.error("publishToPQ error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -119,7 +119,7 @@ public class VideoServiceImpl implements VideoService {
             }
             }
             return videoDetail;
             return videoDetail;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getPQVideoDetail error", e);
+            log.error("getPQVideoDetail error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }
@@ -192,7 +192,7 @@ public class VideoServiceImpl implements VideoService {
             }
             }
 
 
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getUpdateCover error ", e);
+            log.error("getUpdateCover error  {}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/ConfigUtil.java

@@ -19,7 +19,7 @@ public class ConfigUtil {
                 properties.load(resource.getInputStream());
                 properties.load(resource.getInputStream());
             }
             }
         } catch (IOException e) {
         } catch (IOException e) {
-            log.error("ConfigUtil readProperties error", e);
+            log.error("ConfigUtil readProperties error:{}", e.getMessage());
         }
         }
         return properties;
         return properties;
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/HttpPoolClientUtil.java

@@ -173,7 +173,7 @@ public class HttpPoolClientUtil {
                     .setRetryHandler(new DefaultHttpRequestRetryHandler(retryCount, false)).addInterceptorFirst(getInterceptor()).build();
                     .setRetryHandler(new DefaultHttpRequestRetryHandler(retryCount, false)).addInterceptorFirst(getInterceptor()).build();
             return new HttpPoolClientUtil(client);
             return new HttpPoolClientUtil(client);
         } catch (Throwable e) {
         } catch (Throwable e) {
-            LOGGER.error("create HttpPoolClient exception", e);
+            LOGGER.error("create HttpPoolClient exception {}", e.getMessage());
             throw new RuntimeException("create HttpPoolClient exception");
             throw new RuntimeException("create HttpPoolClient exception");
         }
         }
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/LarkRobotUtil.java

@@ -32,7 +32,7 @@ public class LarkRobotUtil {
             param.put("content", content);
             param.put("content", content);
             HTTP_POOL_CLIENT_UTIL_DEFAULT.post(URL, param.toJSONString());
             HTTP_POOL_CLIENT_UTIL_DEFAULT.post(URL, param.toJSONString());
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Lark sendMessage error", e);
+            log.error("Lark sendMessage error:{}", e.getMessage());
         }
         }
     }
     }
 
 

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/VideoUtils.java

@@ -28,7 +28,7 @@ public class VideoUtils {
                 return jsonObject.getJSONArray("data").getJSONObject(0);
                 return jsonObject.getJSONArray("data").getJSONObject(0);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("VideoUtils getVideoDetail error", e);
+            log.error("VideoUtils getVideoDetail error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/DeepSeek.java

@@ -67,7 +67,7 @@ public class DeepSeek {
 
 
             return (String) service.createChatCompletion(chatCompletionRequest).getChoices().get(0).getMessage().getContent();
             return (String) service.createChatCompletion(chatCompletionRequest).getChoices().get(0).getMessage().getContent();
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("DeepSeek getTitle error", e);
+            log.error("DeepSeek getTitle error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }

+ 4 - 4
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/HkspSearch.java

@@ -48,7 +48,7 @@ public class HkspSearch {
                     .writeTimeout(15, TimeUnit.MINUTES)
                     .writeTimeout(15, TimeUnit.MINUTES)
                     .build();
                     .build();
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("Failed to create HkspSearch client", e);
+            log.error("Failed to create HkspSearch client {}", e.getMessage());
         }
         }
     }
     }
 
 
@@ -136,7 +136,7 @@ public class HkspSearch {
             }
             }
             return resultList;
             return resultList;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("hkspSearch error", e);
+            log.error("hkspSearch error:{}", e.getMessage());
         }
         }
         return new ArrayList<>();
         return new ArrayList<>();
     }
     }
@@ -156,7 +156,7 @@ public class HkspSearch {
             }
             }
             return sb.toString();
             return sb.toString();
         } catch (NoSuchAlgorithmException e) {
         } catch (NoSuchAlgorithmException e) {
-            log.error("HkspSearch md5 error", e);
+            log.error("HkspSearch md5 error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }
@@ -212,7 +212,7 @@ public class HkspSearch {
                     .getJSONObject("apiData")
                     .getJSONObject("apiData")
                     .getJSONObject("curVideoMeta");
                     .getJSONObject("curVideoMeta");
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("getVideoDetail error", e);
+            log.error("getVideoDetail error:{}", e.getMessage());
         }
         }
         return null;
         return null;
 
 

+ 2 - 2
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/KimiAPI.java

@@ -52,7 +52,7 @@ public class KimiAPI {
             message = result.getJSONObject("message");
             message = result.getJSONObject("message");
             return message.getString("content");
             return message.getString("content");
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("KimiAPI chat error", e);
+            log.error("KimiAPI chat error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }
@@ -84,7 +84,7 @@ public class KimiAPI {
             message = result.getJSONObject("message");
             message = result.getJSONObject("message");
             return message.getString("content");
             return message.getString("content");
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("KimiAPI chat error", e);
+            log.error("KimiAPI chat error:{}", e.getMessage());
         }
         }
         return "";
         return "";
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/NlpUtils.java

@@ -70,7 +70,7 @@ public class NlpUtils {
                 return scoreListList.toJavaList(Float.class);
                 return scoreListList.toJavaList(Float.class);
             }
             }
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("NlpUtils nlpTitleSimilarity error", e);
+            log.error("NlpUtils nlpTitleSimilarity error:{}", e.getMessage());
         }
         }
         return null;
         return null;
     }
     }

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/OSSUploader.java

@@ -28,7 +28,7 @@ public class OSSUploader {
             ossClient.putObject(putObjectRequest);
             ossClient.putObject(putObjectRequest);
             return ossVideoKey;
             return ossVideoKey;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("OSSUploader uploadToOSS error", e);
+            log.error("OSSUploader uploadToOSS error:{}", e.getMessage());
             return null;
             return null;
         } finally {
         } finally {
             // 关闭 OSSClient
             // 关闭 OSSClient

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

@@ -119,7 +119,7 @@ public class VideoDownloader {
             }
             }
             return responseCode;
             return responseCode;
         } catch (Exception e) {
         } catch (Exception e) {
-            log.error("download error", e);
+            log.error("download error:{}", e.getMessage());
         }
         }
         return -1;
         return -1;
     }
     }