|  |  | @ -513,7 +513,7 @@ public class NoticeServiceImpl extends BaseServiceImpl<NoticeDao, NoticeEntity> | 
			
		
	
		
			
				
					|  |  |  |                 textScanParamDTO.getTasks().add(taskDTO); | 
			
		
	
		
			
				
					|  |  |  |                 Result<SyncScanResult> textSyncScanResult = ScanContentUtils.textSyncScan(scanApiUrl.concat(textSyncScanMethod), textScanParamDTO); | 
			
		
	
		
			
				
					|  |  |  |                 if (!textSyncScanResult.success()) { | 
			
		
	
		
			
				
					|  |  |  |                     logger.error("safetyCheck return failed,result:"+ JSON.toJSONString(textSyncScanResult)); | 
			
		
	
		
			
				
					|  |  |  |                     logger.error("safetyCheck textScan return failed,result:"+ JSON.toJSONString(textSyncScanResult)); | 
			
		
	
		
			
				
					|  |  |  |                     throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode()); | 
			
		
	
		
			
				
					|  |  |  |                 } else { | 
			
		
	
		
			
				
					|  |  |  |                     if (!textSyncScanResult.getData().isAllPass()) { | 
			
		
	
	
		
			
				
					|  |  | @ -534,12 +534,14 @@ public class NoticeServiceImpl extends BaseServiceImpl<NoticeDao, NoticeEntity> | 
			
		
	
		
			
				
					|  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |             Result<SyncScanResult> imgScanResult = ScanContentUtils.imgSyncScan(scanApiUrl.concat(imgSyncScanMethod), imgScanParamDTO); | 
			
		
	
		
			
				
					|  |  |  |             if (!imgScanResult.success()) { | 
			
		
	
		
			
				
					|  |  |  |                 logger.error("safetyCheck imgScan return failed,result:"+ JSON.toJSONString(imgScanResult)); | 
			
		
	
		
			
				
					|  |  |  |                 throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode()); | 
			
		
	
		
			
				
					|  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |                 if (!imgScanResult.getData().isAllPass()) { | 
			
		
	
		
			
				
					|  |  |  |                     throw new RenException(EpmetErrorCode.IMG_SCAN_FAILED.getCode()); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             if (!imgScanResult.getData().isAllPass()) { | 
			
		
	
		
			
				
					|  |  |  |                 logger.warn(EpmetErrorCode.IMG_SCAN_FAILED.getMsg()); | 
			
		
	
		
			
				
					|  |  |  |                 throw new RenException(EpmetErrorCode.IMG_SCAN_FAILED.getCode()); | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |