| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -205,9 +205,9 @@ public class ScanContentUtils { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							//语音检测结果
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// testVoiceResults();
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							//视频检测任务提交
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							testVideoAsyncScan(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// testVideoAsyncScan();
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							//查询视频检测结果
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// testVideoResults();
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							testVideoResults(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public static void testTextSyncScan(){ | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -269,7 +269,7 @@ public class ScanContentUtils { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							String url = "http://localhost:8107/epmetscan/api/videoAsyncScan"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							VideoTaskDTO p = new VideoTaskDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							p.setDataId("1"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							p.setUrl("???"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							p.setUrl("https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20210111/e996a68b9f0144a3843666c430f73086.mp4"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<VideoTaskDTO> list = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							list.add(p); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							VideoScanParamDTO param = new VideoScanParamDTO(); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -282,7 +282,7 @@ public class ScanContentUtils { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public static void testVideoResults(){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							String url = "http://localhost:8107/epmetscan/api/videoResults"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<String> taskIds=new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							taskIds.add("???"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							taskIds.add("vi6ZatqnJEkqf5m@FZ7Ka0AU-1tKYdk"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							Result<VideoAsyncScanResultDTO> result = ScanContentUtils.videoResults(url, taskIds); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							System.out.println("================" + JSON.toJSONString(result)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |