...
|
...
|
@@ -28,10 +28,10 @@ public class ProductListSwitchService { |
|
|
@Autowired
|
|
|
private FuzzySceneProductListService fuzzySceneProductListService;
|
|
|
|
|
|
// private boolean isAUser(int uid) {
|
|
|
// int tail = uid % 1024;
|
|
|
// return tail < 512 ? true : false;
|
|
|
// }
|
|
|
private boolean isAUser(int uid) {
|
|
|
int tail = uid % 1024;
|
|
|
return tail < 512 ? true : false;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 普通商品列表入口
|
...
|
...
|
@@ -66,11 +66,11 @@ public class ProductListSwitchService { |
|
|
return defaultProductListService.productListForDefaultPersional(paramMap);
|
|
|
}
|
|
|
|
|
|
// // 5、个性化版本A/B 测试
|
|
|
// int uid = searchCommonHelper.getUid(paramMap);
|
|
|
// if(uid>0 && isAUser(uid)){
|
|
|
// return defaultProductListService.productListForDefaultPersional(paramMap);
|
|
|
// }
|
|
|
// 5个性化版本A/B 测试
|
|
|
int uid = searchCommonHelper.getUid(paramMap);
|
|
|
if(uid>0 && isAUser(uid)){
|
|
|
return defaultProductListService.productListForDefaultPersional(paramMap);
|
|
|
}
|
|
|
|
|
|
// 6、是否使用新的召回策略
|
|
|
boolean searchPersionalNewStrategyOpen = searchDynamicConfigService.searchPersionalNewStrategyOpen();
|
...
|
...
|
|