|
@@ -79,6 +79,7 @@ public class RankServiceImpl implements RankService {
|
|
|
|
|
|
if (!CollectionUtils.isEmpty(rankResult)) {
|
|
|
// log.info("svc=adItemRank request={} rankResult={} dataTime={}", JSONObject.toJSONString(request),JSONObject.toJSONString(rankResult),currentTime.format(timeFormatter));
|
|
|
+ /*
|
|
|
JSONObject object=new JSONObject();
|
|
|
object.put("mid",request.getMid());
|
|
|
object.put("adid",rankResult.get(0).getAdId());
|
|
@@ -88,6 +89,8 @@ public class RankServiceImpl implements RankService {
|
|
|
object.put("lrsamples",rankResult.get(0).getLrSampleString());
|
|
|
object.put("dataTime",currentTime.format(timeFormatter));
|
|
|
log.info("svc=adItemRank {}", JSONObject.toJSONString(object));
|
|
|
+
|
|
|
+ */
|
|
|
return rankResult.get(0);
|
|
|
}else {
|
|
|
//空返回值
|
|
@@ -167,6 +170,7 @@ public class RankServiceImpl implements RankService {
|
|
|
}else {
|
|
|
result.setEcpm2(rankResult.get(1).getEcpm1());
|
|
|
}
|
|
|
+ /*
|
|
|
JSONObject object=new JSONObject();
|
|
|
object.put("mid",request.getMid());
|
|
|
object.put("adid",result.getCreativeId());
|
|
@@ -176,6 +180,8 @@ public class RankServiceImpl implements RankService {
|
|
|
object.put("lrsamples",topItem.getLrSampleString());
|
|
|
object.put("dataTime",currentTime.format(timeFormatter));
|
|
|
log.info("svc=adBidRank {}", JSONObject.toJSONString(object));
|
|
|
+
|
|
|
+ */
|
|
|
return result;
|
|
|
}
|
|
|
|