wangyunpeng 1 день назад
Родитель
Сommit
ff083473bf

+ 4 - 4
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/impl/ContentPlatformPlanServiceImpl.java

@@ -331,14 +331,14 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
             gzhPlan.setId(param.getId());
             gzhPlanMapper.updateByPrimaryKeySelective(gzhPlan);
         }
+        // 保存视频内容
+        saveGzhPlanVideo(param, videoIds, gzhPlan.getId(), account, loginAccount);
         if (param.getType() == ContentPlatformGzhPlanTypeEnum.AUTO_REPLY.getVal()) {
-            // 更新gh_detail
-            updateGhDetail(account, param.getSelectVideoType(), videoIds);
             // 更新cgi_reply_bucket_data
             updateCgiReplyBucketData(account.getGhId());
+            // 更新gh_detail
+            updateGhDetail(account, param.getSelectVideoType(), videoIds);
         }
-        // 保存视频内容
-        saveGzhPlanVideo(param, videoIds, gzhPlan.getId(), account, loginAccount);
         // 调用aigc重新拉取视频
         if (param.getType() == ContentPlatformGzhPlanTypeEnum.AUTO_REPLY.getVal()) {
             if (PublishStageEnum.PLATFORM.getVal() == param.getPublishStage()) {