Showing
1 changed file
with
2 additions
and
0 deletions
@@ -73,6 +73,8 @@ public class ProductSearchController { | @@ -73,6 +73,8 @@ public class ProductSearchController { | ||
73 | } else { | 73 | } else { |
74 | 74 | ||
75 | } | 75 | } |
76 | + } else if (null != productPool) { | ||
77 | + order = "pools.order_by:desc"; // 如果走商品池接口,默认走排序倒序接口 | ||
76 | } | 78 | } |
77 | SortIdLevel sortIdLevel = productSearchService.getSortLevelById(sort); | 79 | SortIdLevel sortIdLevel = productSearchService.getSortLevelById(sort); |
78 | ProductSearchReq req = new ProductSearchReq().setOrder(order).setId(id).setPool(productPool).setBrand(brand).setMidSort(sortIdLevel.getMidSortId()).setMaxSort(sortIdLevel.getMaxSortId()) | 80 | ProductSearchReq req = new ProductSearchReq().setOrder(order).setId(id).setPool(productPool).setBrand(brand).setMidSort(sortIdLevel.getMidSortId()).setMaxSort(sortIdLevel.getMaxSortId()) |
-
Please register or login to post a comment