Authored by 胡古飞

fix

@@ -66,7 +66,7 @@ public class GoodProductListService implements IGoodProductsService { @@ -66,7 +66,7 @@ public class GoodProductListService implements IGoodProductsService {
66 66
67 private final int maxSmallSortCount = 20; 67 private final int maxSmallSortCount = 20;
68 private final int maxProductSknCountPerSort = 5; 68 private final int maxProductSknCountPerSort = 5;
69 - private final int maxCountPerGroup = 10; 69 + private final int maxCountPerGroup = 3;
70 // private final float firstSknScore = 300; 70 // private final float firstSknScore = 300;
71 private final float recommendedSknMaxScore = 200; 71 private final float recommendedSknMaxScore = 200;
72 72
@@ -317,7 +317,6 @@ public class GoodProductListService implements IGoodProductsService { @@ -317,7 +317,6 @@ public class GoodProductListService implements IGoodProductsService {
317 int toIndex = (i + 1) * maxCountPerGroup; 317 int toIndex = (i + 1) * maxCountPerGroup;
318 result.put(i, recommendedSknList.subList(fromIndex, toIndex > maxSize ? maxSize : toIndex)); 318 result.put(i, recommendedSknList.subList(fromIndex, toIndex > maxSize ? maxSize : toIndex));
319 } 319 }
320 - Collections.shuffle(recommendedSknList);  
321 return result; 320 return result;
322 } 321 }
323 322
@@ -342,6 +341,7 @@ public class GoodProductListService implements IGoodProductsService { @@ -342,6 +341,7 @@ public class GoodProductListService implements IGoodProductsService {
342 } 341 }
343 } 342 }
344 } 343 }
  344 + Collections.shuffle(recommendedSknList);
345 return recommendedSknList; 345 return recommendedSknList;
346 } 346 }
347 347