|
|
@@ -1,5 +1,6 @@
|
|
|
package com.tzld.piaoquan.ad.engine.service.score.strategy;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.ctrip.framework.apollo.spring.annotation.ApolloJsonValue;
|
|
|
import com.tzld.piaoquan.ad.engine.commons.dto.AdPlatformCreativeDTO;
|
|
|
@@ -105,6 +106,7 @@ public class RankStrategyBy851 extends RankStrategyBasic {
|
|
|
String userLayer = reqFeature.get("layer_l4");
|
|
|
// feature1
|
|
|
Feature feature = this.getFeatureV2(userLayer, scoreParam, request);
|
|
|
+ log.info("851 feature: {}", JSON.toJSONString(feature));
|
|
|
if (feature == null) {
|
|
|
log.warn("adItemRank: feature is null, skip processing. request={}", request);
|
|
|
return new ArrayList<>();
|
|
|
@@ -938,6 +940,7 @@ public class RankStrategyBy851 extends RankStrategyBasic {
|
|
|
}
|
|
|
|
|
|
private Map<String, Map<String, Double>> parseD2FeatureMap(Map<String, String> d2Feature) {
|
|
|
+ log.info("parseD2FeatureMap d2Feature: {}", d2Feature);
|
|
|
Map<String, Map<String, Double>> vidRankMaps = new HashMap<>();
|
|
|
for (Map.Entry<String, String> entry : d2Feature.entrySet()) {
|
|
|
String key = entry.getKey();
|