|
@@ -1,6 +1,7 @@
|
|
|
package com.tzld.piaoquan.ad.engine.service.score;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.tzld.piaoquan.recommend.feature.domain.ad.base.AdActionFeature;
|
|
|
import com.tzld.piaoquan.recommend.feature.domain.ad.base.AdRankItem;
|
|
|
import com.tzld.piaoquan.recommend.feature.domain.ad.base.UserAdFeature;
|
|
@@ -77,7 +78,7 @@ public class FeatureRemoteService {
|
|
|
return Collections.emptyList();
|
|
|
}
|
|
|
List<AdItemFeatureProto> protoList = client.getAllAdItemFeature(adIdList);
|
|
|
- log.info("svc=getAllAdFeatureList protoList={}", JSONArray.toJSONString(protoList));
|
|
|
+ log.info("svc=getAllAdFeatureList protoList={}", protoList);
|
|
|
return CommonCollectionUtils.toList(protoList, p -> convert(p));
|
|
|
}
|
|
|
|
|
@@ -90,6 +91,7 @@ public class FeatureRemoteService {
|
|
|
|
|
|
feature.setAdId(Long.parseLong(proto.getAdId()));
|
|
|
feature.setItemFeature(FeatureConvert.convertToJava(proto));
|
|
|
+
|
|
|
return feature;
|
|
|
}
|
|
|
|