瀏覽代碼

召回实验

zhangbo 1 年之前
父節點
當前提交
42efb2002f

+ 4 - 3
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/recall/RecallService.java

@@ -108,8 +108,8 @@ public class RecallService implements ApplicationContextAware {
         //3:通过“abcode”控制“召回子策略”
         String abCode = param.getAbCode();
         if (abCode == null){
-            strategies.add(strategyMap.get(SimHotVideoRecallStrategy.class.getSimpleName()));
-            strategies.add(strategyMap.get(ReturnVideoRecallStrategy.class.getSimpleName()));
+            // todo 做兜底吗?
+            ;
         }else{
             switch (abCode){
                 case "60068":
@@ -124,7 +124,7 @@ public class RecallService implements ApplicationContextAware {
                     strategies.add(strategyMap.get(ReturnVideoRecallStrategy.class.getSimpleName()));
                     break;
                 case "60103":
-                    // todo
+                    // todo 增加地域1小时扩量
                     strategies.add(strategyMap.get(SimHotVideoRecallStrategy.class.getSimpleName()));
                     strategies.add(strategyMap.get(ReturnVideoRecallStrategy.class.getSimpleName()));
                     break;
@@ -133,6 +133,7 @@ public class RecallService implements ApplicationContextAware {
                     strategies.add(strategyMap.get(ReturnVideoRecallStrategy.class.getSimpleName()));
                     break;
                 default:
+                    // todo 做兜底吗?
                     break;
             }
         }