supeng 11 months ago
parent
commit
2e36529320

+ 5 - 1
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/recall/RecallService.java

@@ -35,6 +35,10 @@ public class RecallService implements ApplicationContextAware {
     protected Map<Integer, String> lastDigitAbcode;
     @Resource
     private BlacklistContainer blacklistContainer;
+    /**
+     * 供给流量池实验 648 random
+     */
+    private static final String SUPPLY_AB_CODE = "60600";
 
     @PostConstruct
     public void init() {
@@ -165,7 +169,7 @@ public class RecallService implements ApplicationContextAware {
             }
             // 命中用户黑名单不走流量池
             if (!hitUserBlacklist) {
-                if (Objects.equals("60600", abCode)) {
+                if (Objects.equals(SUPPLY_AB_CODE, abCode)) {
                     // 供给流量池策略 648 实验 random
                     strategies.add(strategyMap.get(FlowPoolWithLevelSupplyRecallStrategy.class.getSimpleName()));
                     log.info("supply flowpool 60600");