|
@@ -694,11 +694,11 @@ public class CoreServiceImpl implements CoreService {
|
|
|
return;
|
|
|
}
|
|
|
log.info("gzhPushParam={}", gzhPushParam);
|
|
|
-// String pushId = aigcService.createPushTask(gzhPushParam);
|
|
|
-// log.info("pushId = {}", pushId);
|
|
|
-// if (StringUtils.isNotEmpty(pushId)) {
|
|
|
-// publicContentService.updatePublishContentPushId(sendIds, pushId);
|
|
|
-// }
|
|
|
+ String pushId = aigcService.createPushTask(gzhPushParam);
|
|
|
+ log.info("pushId = {}", pushId);
|
|
|
+ if (StringUtils.isNotEmpty(pushId)) {
|
|
|
+ publicContentService.updatePublishContentPushId(sendIds, pushId);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -806,10 +806,9 @@ public class CoreServiceImpl implements CoreService {
|
|
|
createBatchGroupItemParam.setOpenIds(entry.getValue());
|
|
|
createBatchGroupItemParams.add(createBatchGroupItemParam);
|
|
|
gzhPushParam.setBatchGroupItems(createBatchGroupItemParams);
|
|
|
-// log.info("gzhPushParam={}", gzhPushParam);
|
|
|
-// String pushId = aigcService.createBatchGroupPushTask(gzhPushParam);
|
|
|
-// log.info("pushId = {}", pushId);
|
|
|
- String pushId = "test";
|
|
|
+ log.info("gzhPushParam={}", gzhPushParam);
|
|
|
+ String pushId = aigcService.createBatchGroupPushTask(gzhPushParam);
|
|
|
+ log.info("pushId = {}", pushId);
|
|
|
List<String> contentIds = new ArrayList<>();
|
|
|
for (PublishContent publishContent : publishContentList) {
|
|
|
PublishContent publishContent1 = new PublishContent();
|