|
@@ -1,5 +1,6 @@
|
|
|
package com.tzld.piaoquan.ad.engine.service.score.container;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.google.common.cache.Cache;
|
|
|
import com.google.common.cache.CacheBuilder;
|
|
|
import com.google.common.cache.CacheLoader;
|
|
@@ -54,6 +55,7 @@ public class AdCreativeFeatureContainer {
|
|
|
if (feature == null) {
|
|
|
feature = defaultValueFunc.apply(key);
|
|
|
}
|
|
|
+ log.info("svc=load_from_recommend_feature id={}", JSONObject.toJSONString(key));
|
|
|
return feature;
|
|
|
}
|
|
|
|
|
@@ -73,6 +75,7 @@ public class AdCreativeFeatureContainer {
|
|
|
for (int i = 0; i < resultList.size(); i++) {
|
|
|
result.put(resultList.get(i).getAdId(),resultList.get(i));
|
|
|
}
|
|
|
+ log.info("svc=load_from_recommend_feature idList={}", JSONObject.toJSONString(keyList));
|
|
|
return result;
|
|
|
}
|
|
|
public List<AdRankItem> getAll(List<Long> creativeIds) {
|