|
@@ -142,6 +142,9 @@ public class ContentPlatformApiServiceImpl implements ContentPlatformApiService
|
|
|
GzhPlanSaveParam saveParam = new GzhPlanSaveParam();
|
|
|
saveParam.setPublishStage(PublishStageEnum.USER.getVal());
|
|
|
ContentPlatformGzhAccount gzhAccount = gzhAccountMap.get(item.getGhId());
|
|
|
+ if (Objects.isNull(gzhAccount)) {
|
|
|
+ throw new CommonException(ExceptionEnum.GZH_ACCOUNT_NOT_EXISTS);
|
|
|
+ }
|
|
|
saveParam.setAccountId(gzhAccount.getId());
|
|
|
saveParam.setScene(0);
|
|
|
saveParam.setType(item.getType());
|