|
|
@ -101,6 +101,7 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom |
|
|
|
throw new RenException(EpmetErrorCode.GROUP_ACT_CAN_NOT_COMMENT.getCode(), "当前活动已取消,不能评论"); |
|
|
|
} |
|
|
|
//2、评论内容审核
|
|
|
|
if(StringUtils.isNotBlank(formDTO.getCommentContent())){ |
|
|
|
TextScanParamDTO textScanParamDTO = new TextScanParamDTO(); |
|
|
|
TextTaskDTO taskDTO = new TextTaskDTO(); |
|
|
|
taskDTO.setContent(formDTO.getCommentContent()); |
|
|
@ -114,6 +115,7 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom |
|
|
|
throw new RenException(EpmetErrorCode.TEXT_SCAN_FAILED.getCode(), EpmetErrorCode.TEXT_SCAN_FAILED.getMsg()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//图片安全校验
|
|
|
|
if(org.apache.commons.collections4.CollectionUtils.isNotEmpty(formDTO.getImageList())){ |
|
|
|
List<String> imageList = formDTO.getImageList().stream().map(NoticeFileDTO::getUrl).collect(Collectors.toList()); |
|
|
|