Преглед изворни кода

Merge branch 'wyp/1217-videoPoolFilter' of Server/long-article-recommend into master

wangyunpeng пре 7 месеци
родитељ
комит
88817a390e

+ 0 - 3
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/rank/RankService.java

@@ -140,9 +140,6 @@ public class RankService implements InitializingBean {
     }
 
     public static List<Content> contentSourceTypeFilter(String strategy, List<Content> pool, Integer index) {
-        if (!staticStrategyPoolSourceTypeMap.containsKey(strategy)) {
-            return pool;
-        }
         Integer sourceType = getStrategyPoolSourceType(strategy, index);
         Integer videoSourceType = PublishPlanInputSourceTypesEnum.longArticleVideoPoolSource.getVal();
         if (Objects.nonNull(sourceType) && sourceType.equals(videoSourceType)) {