| 
					
				 | 
			
			
				@@ -59,9 +59,19 @@ public class PredictModelServiceImpl implements PredictModelService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Value("${ad.predict.param.testIds:0}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private String testIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Value("${ad.predict.without.ad.video_ids:0}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private String withoutAdVideoIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public Map<String, Object> adPredict(ThresholdPredictModelRequestParam requestParam) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String[] withoutAdVideoIdsArr=withoutAdVideoIds.split(","); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for(String videoId:withoutAdVideoIdsArr){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(videoId.equals(requestParam.getVideoId()+"")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                Map<String,Object> result=new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                result.put("ad_predict", 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                result.put("no_ad_strategy", "no_ad_with_video_in_white_list"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         boolean isHit = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 |