|
@@ -529,8 +529,17 @@ public abstract class RankStrategyBasic implements RankStrategy {
|
|
|
}
|
|
|
|
|
|
protected Map<Long, CorrectCpaParam> getCorrectCpaParamMap(RankRecommendRequestParam request, ScoreParam scoreParam, Map<String, String> reqFeature) {
|
|
|
- String layer = reqFeature.get("layer");
|
|
|
- String clazz = reqFeature.get("clazz");
|
|
|
+ String layer;
|
|
|
+ String clazz;
|
|
|
+ if (!checkoutLayer) {
|
|
|
+ layer = reqFeature.get("layer");
|
|
|
+ clazz = reqFeature.get("clazz");
|
|
|
+ } else {
|
|
|
+ layer = reqFeature.get("layer_l4");
|
|
|
+ clazz = reqFeature.get("clazz_l4");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
Map<Long, CorrectCpaParam> resultMap = new HashMap<>();
|
|
|
try {
|
|
|
if (CollectionUtils.isEmpty(request.getAdIdList())) {
|