提交 34aad739 authored 作者: douxy's avatar douxy

CP计划小程序改造,修改错误提示信息

上级 ed5d5bd3
......@@ -146,13 +146,13 @@ public class TemporaryActivityCoreController {
throw new DataException(RCode.NOT_TGHD_PHOTO_ERROR);
}else if (CollectionUtils.isEmpty(activityReportedDto.getTgcjPhotoInfos()) ){
throw new DataException(RCode.NOT_TGCJ_PHOTO_ERROR);
}else if (CollectionUtils.isEmpty(activityReportedDto.getScpPhotoUrls()) ){
}else if (CollectionUtils.isEmpty(activityReportedDto.getScpPhotoInfos()) ){
throw new DataException(RCode.NOT_SCP_PHOTO_ERROR);
} else if (CollectionUtils.isEmpty(activityReportedDto.getPfzpPhotoUrls()) ){
} else if (CollectionUtils.isEmpty(activityReportedDto.getPfzpPhotoInfos()) ){
throw new DataException(RCode.NOT_PFZP_PHOTO_ERROR);
} else if (CollectionUtils.isEmpty(activityReportedDto.getGfqPhotoUrls()) ){
} else if (CollectionUtils.isEmpty(activityReportedDto.getGfqPhotoInfos()) ){
throw new DataException(RCode.NOT_GFQ_PHOTO_ERROR);
} else if (CollectionUtils.isEmpty(activityReportedDto.getScbbwlPhotoUrls()) ){
} else if (CollectionUtils.isEmpty(activityReportedDto.getScbbwlPhotoInfos()) ){
throw new DataException(RCode.NOT_SCBBWL_PHOTO_ERROR);
}
tempActivityCoreService.activityReportedSubmit(id);
......
......@@ -58,6 +58,9 @@ public enum ActivityPhotoType {
*/
SEND_GIFT_PHOTO(11),
/**
* 试吃素材
*/
TASTY_MATERIALS(12)
;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论