Showing
1 changed file
with
1 additions
and
1 deletions
@@ -82,7 +82,6 @@ public class GoodProductListService implements IGoodProductsService { | @@ -82,7 +82,6 @@ public class GoodProductListService implements IGoodProductsService { | ||
82 | List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount); | 82 | List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount); |
83 | // 3、再每个品类下获取5个SKN | 83 | // 3、再每个品类下获取5个SKN |
84 | List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap); | 84 | List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap); |
85 | - Collections.shuffle(recommondSkns); | ||
86 | 85 | ||
87 | // 4、构造搜索参数 | 86 | // 4、构造搜索参数 |
88 | SearchParam searchParam = new SearchParam(); | 87 | SearchParam searchParam = new SearchParam(); |
@@ -334,6 +333,7 @@ public class GoodProductListService implements IGoodProductsService { | @@ -334,6 +333,7 @@ public class GoodProductListService implements IGoodProductsService { | ||
334 | } | 333 | } |
335 | } | 334 | } |
336 | } | 335 | } |
336 | + Collections.shuffle(recommendedSknList); | ||
337 | return recommendedSknList; | 337 | return recommendedSknList; |
338 | } | 338 | } |
339 | 339 |
-
Please register or login to post a comment