|
@@ -347,11 +347,9 @@ public class RecommendService {
|
|
|
int flowPoolIdChoice = flowPoolIds.get(RandomUtils.nextInt(0, flowPoolIds.size()));
|
|
|
Map<String, List<Integer>> flowPoolConfig = flowPoolConfigService.getFlowPoolConfig();
|
|
|
Set<String> abExpCodes = param.getAbExpCodes();
|
|
|
- log.info("supply flowpool 1 flowPoolIdChoice = {} abExpCodes = {}", flowPoolIdChoice,abExpCodes);
|
|
|
if (Objects.nonNull(abExpCodes) && abExpCodes.contains(Constant.SUPPLY_AB_CODE_ID)) {
|
|
|
// if (Objects.equals(Constant.SUPPLY_AB_CODE, param.getAbCode())) {
|
|
|
List<Integer> supplyFlowPoolIdList = flowPoolConfig.get(FlowPoolConstants.SUPPLY_FLOW_SET_LEVEL);
|
|
|
- log.info("supply flowpool 1 supplyFlowPoolIdList = {}", supplyFlowPoolIdList);
|
|
|
if (Objects.nonNull(supplyFlowPoolIdList) && !supplyFlowPoolIdList.isEmpty()) {
|
|
|
flowPoolIdChoice = supplyFlowPoolIdList.get(0);
|
|
|
param.setFlowPoolId(flowPoolIdChoice);
|
|
@@ -366,7 +364,6 @@ public class RecommendService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- log.info("supply flowpool 2 flowPoolIdChoice = {} abExpCodes = {}", flowPoolIdChoice,abExpCodes);
|
|
|
// @desc 新的流量池分发实验组划分,每个尾号不同策略分组。 @time 20240318 @author 张博
|
|
|
int lastDigit = RandomUtils.nextInt(0, 10);
|
|
|
param.setLastDigit(lastDigit);
|