...
|
...
|
@@ -66,7 +66,7 @@ public class GoodProductListService implements IGoodProductsService { |
|
|
|
|
|
private final int maxSmallSortCount = 20;
|
|
|
private final int maxProductSknCountPerSort = 5;
|
|
|
private final int maxCountPerGroup = 10;
|
|
|
private final int maxCountPerGroup = 3;
|
|
|
// private final float firstSknScore = 300;
|
|
|
private final float recommendedSknMaxScore = 200;
|
|
|
|
...
|
...
|
@@ -80,7 +80,7 @@ public class GoodProductListService implements IGoodProductsService { |
|
|
}
|
|
|
// 2、先获取用户浏览的SKN对应的品类列表
|
|
|
List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount);
|
|
|
// 3、再每个品类下获取5个SKN
|
|
|
// 3、再每个品类下获取5个SKN[每次随机打乱]
|
|
|
List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap);
|
|
|
|
|
|
// 4、构造搜索参数
|
...
|
...
|
|