|
@@ -140,11 +140,9 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
updateGhDetail(account, videoIds);
|
|
updateGhDetail(account, videoIds);
|
|
// 更新cgi_reply_bucket_data
|
|
// 更新cgi_reply_bucket_data
|
|
updateCgiReplyBucketData(account.getGhId(), param.getVideoList());
|
|
updateCgiReplyBucketData(account.getGhId(), param.getVideoList());
|
|
- // 调用aigc创建发布计划
|
|
|
|
- String externalId = aigcApiService.createPublishPlan(account.getExternalId(), account.getName());
|
|
|
|
- // 调用aigc重新拉取视频
|
|
|
|
- aigcApiService.refreshGzhAutoReplyMsgData(account.getGhId());
|
|
|
|
if (Objects.isNull(param.getId())) {
|
|
if (Objects.isNull(param.getId())) {
|
|
|
|
+ // 调用aigc创建发布计划
|
|
|
|
+ String externalId = aigcApiService.createPublishPlan(account.getExternalId(), account.getName());
|
|
gzhPlan.setExternalId(externalId);
|
|
gzhPlan.setExternalId(externalId);
|
|
gzhPlan.setCreateAccountId(loginAccount.getId());
|
|
gzhPlan.setCreateAccountId(loginAccount.getId());
|
|
gzhPlan.setCreateTimestamp(now);
|
|
gzhPlan.setCreateTimestamp(now);
|
|
@@ -155,6 +153,8 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
}
|
|
}
|
|
// 保存视频内容
|
|
// 保存视频内容
|
|
saveGzhPlanVideo(param, videoIds, gzhPlan.getId(), loginAccount.getId());
|
|
saveGzhPlanVideo(param, videoIds, gzhPlan.getId(), loginAccount.getId());
|
|
|
|
+ // 调用aigc重新拉取视频
|
|
|
|
+ aigcApiService.refreshGzhAutoReplyMsgData(account.getGhId());
|
|
}
|
|
}
|
|
|
|
|
|
private void updateCgiReplyBucketData(String ghId, List<VideoContentItemVO> videoList) {
|
|
private void updateCgiReplyBucketData(String ghId, List<VideoContentItemVO> videoList) {
|