| 
					
				 | 
			
			
				@@ -9,6 +9,7 @@ import com.tzld.longarticle.recommend.server.common.enums.recommend.ArticleTypeE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.common.enums.recommend.RankStrategyEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.mapper.crawler.ArticleUserGroupMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.dto.Content; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.tzld.longarticle.recommend.server.model.entity.aigc.PublishPlan; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.entity.crawler.AccountAvgInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.entity.crawler.PublishSortLog; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.param.RecommendParam; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +18,7 @@ import com.tzld.longarticle.recommend.server.model.vo.ArticleSortResponseData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.vo.ArticleSortResponseDataItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.vo.RecommendResponse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.model.vo.RecommendWithUserGroupResponse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.tzld.longarticle.recommend.server.repository.aigc.PublishPlanRepository; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.repository.crawler.AccountAvgInfoRepository; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.repository.crawler.ArticleRepository; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.repository.crawler.PublishSortLogRepository; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -65,6 +67,8 @@ public class RecommendService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private ArticleUserGroupMapper articleUserGroupMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private ArticleRepository articleRepository; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private PublishPlanRepository publishPlanRepository; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApolloJsonValue("${accountStrategyConfig:{}}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private Map<String, String> accountStrategyConfigMap; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -148,6 +152,11 @@ public class RecommendService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 param.setStrategy(RankStrategyEnum.LATE_STRATEGY.getStrategy()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 服务号计划走服务号策略 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PublishPlan publishPlan = publishPlanRepository.getOne(param.getPlanId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (publishPlan.getName().contains("服务号")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param.setStrategy(RankStrategyEnum.FWH_STRATEGY.getStrategy()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public RecommendWithUserGroupResponse recommend4FwhColdStart(RecommendRequest request) { 
			 |