| 
						
						
							
								
							
						
						
					 | 
					@ -101,17 +101,19 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(EpmetErrorCode.GROUP_ACT_CAN_NOT_COMMENT.getCode(), "当前活动已取消,不能评论"); | 
					 | 
					 | 
					            throw new RenException(EpmetErrorCode.GROUP_ACT_CAN_NOT_COMMENT.getCode(), "当前活动已取消,不能评论"); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //2、评论内容审核
 | 
					 | 
					 | 
					        //2、评论内容审核
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        TextScanParamDTO textScanParamDTO = new TextScanParamDTO(); | 
					 | 
					 | 
					        if(StringUtils.isNotBlank(formDTO.getCommentContent())){ | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        TextTaskDTO taskDTO = new TextTaskDTO(); | 
					 | 
					 | 
					            TextScanParamDTO textScanParamDTO = new TextScanParamDTO(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        taskDTO.setContent(formDTO.getCommentContent()); | 
					 | 
					 | 
					            TextTaskDTO taskDTO = new TextTaskDTO(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        taskDTO.setDataId(UUID.randomUUID().toString().replace("-", "")); | 
					 | 
					 | 
					            taskDTO.setContent(formDTO.getCommentContent()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        textScanParamDTO.getTasks().add(taskDTO); | 
					 | 
					 | 
					            taskDTO.setDataId(UUID.randomUUID().toString().replace("-", "")); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        Result<SyncScanResult> textSyncScanResult = ScanContentUtils.textSyncScan(scanApiUrl.concat(textSyncScanMethod), textScanParamDTO); | 
					 | 
					 | 
					            textScanParamDTO.getTasks().add(taskDTO); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        if (!textSyncScanResult.success()) { | 
					 | 
					 | 
					            Result<SyncScanResult> textSyncScanResult = ScanContentUtils.textSyncScan(scanApiUrl.concat(textSyncScanMethod), textScanParamDTO); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode()); | 
					 | 
					 | 
					            if (!textSyncScanResult.success()) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        } else { | 
					 | 
					 | 
					                throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            if (!textSyncScanResult.getData().isAllPass()) { | 
					 | 
					 | 
					            } else { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                throw new RenException(EpmetErrorCode.TEXT_SCAN_FAILED.getCode(), EpmetErrorCode.TEXT_SCAN_FAILED.getMsg()); | 
					 | 
					 | 
					                if (!textSyncScanResult.getData().isAllPass()) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                    throw new RenException(EpmetErrorCode.TEXT_SCAN_FAILED.getCode(), EpmetErrorCode.TEXT_SCAN_FAILED.getMsg()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //图片安全校验
 | 
					 | 
					 | 
					        //图片安全校验
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |