...
|
...
|
@@ -82,8 +82,7 @@ public class GoodProductListService implements IGoodProductsService { |
|
|
List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount);
|
|
|
// 3、再每个品类下获取5个SKN
|
|
|
List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap);
|
|
|
Collections.shuffle(recommondSkns);
|
|
|
|
|
|
|
|
|
// 4、构造搜索参数
|
|
|
SearchParam searchParam = new SearchParam();
|
|
|
searchParam.setFiter(this.getDefaultBoolQueryBuilder());
|
...
|
...
|
@@ -334,6 +333,7 @@ public class GoodProductListService implements IGoodProductsService { |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
Collections.shuffle(recommendedSknList);
|
|
|
return recommendedSknList;
|
|
|
}
|
|
|
|
...
|
...
|
|