|
@@ -596,11 +596,14 @@ public class CoreServiceImpl implements CoreService {
|
|
|
} else {
|
|
|
gzhPushParam.setPushScheduleTimestamp(System.currentTimeMillis());
|
|
|
}
|
|
|
- gzhPushParam.setPushContentList(pushContentList);
|
|
|
+ if (CollectionUtils.isEmpty(pushContentList)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
if (Objects.equals(planAccount.getPushType(), PublishGzhPushTypeEnum.auto_group_publish.getVal())
|
|
|
&& pushContentList.size() < planAccount.getPublishPreMinNum()) {
|
|
|
continue;
|
|
|
}
|
|
|
+ gzhPushParam.setPushContentList(pushContentList);
|
|
|
log.info("gzhPushParam={}", gzhPushParam);
|
|
|
String pushId = aigcService.createPushTask(gzhPushParam);
|
|
|
log.info("pushId = {}", pushId);
|