Authored by 胡古飞

revert

... ... @@ -82,7 +82,6 @@ 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();
... ... @@ -318,6 +317,7 @@ public class GoodProductListService implements IGoodProductsService {
int toIndex = (i + 1) * maxCountPerGroup;
result.put(i, recommendedSknList.subList(fromIndex, toIndex > maxSize ? maxSize : toIndex));
}
Collections.shuffle(recommendedSknList);
return result;
}
... ...