|
@@ -108,6 +108,8 @@ public class RankStrategyBy680 extends RankStrategyBasic {
|
|
|
adRankItem.getExt().put("isApi", "1");
|
|
|
}
|
|
|
|
|
|
+ adRankItem.getExt().put("recallsources", dto.getRecallSources());
|
|
|
+
|
|
|
String cidStr = dto.getCreativeId().toString();
|
|
|
Map<String, String> cidFeatureMap = adRankItem.getFeatureMap();
|
|
|
Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(cidStr, new HashMap<>());
|
|
@@ -223,7 +225,7 @@ public class RankStrategyBy680 extends RankStrategyBasic {
|
|
|
|
|
|
result.sort(ComparatorUtil.equalsRandomComparator());
|
|
|
|
|
|
- if (CollectionUtils.isNotEmpty(result)){
|
|
|
+ if (CollectionUtils.isNotEmpty(result)) {
|
|
|
AdRankItem top1Item = result.get(0);
|
|
|
for (Map.Entry<String, Map<String, String>> entry : videoFeature.entrySet()) {
|
|
|
if (MapUtils.isNotEmpty(entry.getValue())) {
|