|
@@ -105,7 +105,7 @@ public class RecommendService {
|
|
|
CostMonitor.logCost("Recommend", "Score", t3 - t2);
|
|
|
|
|
|
// 降权
|
|
|
- reduceService.reduce(convertToReduceParam(param));
|
|
|
+ reduceService.reduce(convertToReduceParam(rankParam));
|
|
|
long t4 = System.currentTimeMillis();
|
|
|
CostMonitor.logCost("Recommend", "Reduce", t4 - t3);
|
|
|
|
|
@@ -254,7 +254,7 @@ public class RecommendService {
|
|
|
return param;
|
|
|
}
|
|
|
|
|
|
- public ReduceParam convertToReduceParam(RecommendParam param) {
|
|
|
+ public ReduceParam convertToReduceParam(RankParam param) {
|
|
|
ReduceParam reduceParam = new ReduceParam();
|
|
|
BeanUtils.copyProperties(param, reduceParam);
|
|
|
reduceParam.setStrategy(param.getStrategy());
|