|
|
@ -111,8 +111,10 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom |
|
|
|
} |
|
|
|
} |
|
|
|
//图片安全校验
|
|
|
|
List<String> imageList = formDTO.getImageList().stream().map(NoticeFileDTO::getUrl).collect(Collectors.toList()); |
|
|
|
noticeCommentService.safetyCheck(new ArrayList<>(), imageList); |
|
|
|
if(org.apache.commons.collections4.CollectionUtils.isNotEmpty(formDTO.getImageList())){ |
|
|
|
List<String> imageList = formDTO.getImageList().stream().map(NoticeFileDTO::getUrl).collect(Collectors.toList()); |
|
|
|
noticeCommentService.safetyCheck(new ArrayList<>(), imageList); |
|
|
|
} |
|
|
|
|
|
|
|
//3、插入记录
|
|
|
|
ActCommentEntity actCommentEntity = new ActCommentEntity(); |
|
|
|