Authored by mali

如果走商品池接口,默认走排序倒序接口

... ... @@ -73,6 +73,8 @@ public class ProductSearchController {
} else {
}
} else if (null != productPool) {
order = "pools.order_by:desc"; // 如果走商品池接口,默认走排序倒序接口
}
SortIdLevel sortIdLevel = productSearchService.getSortLevelById(sort);
ProductSearchReq req = new ProductSearchReq().setOrder(order).setId(id).setPool(productPool).setBrand(brand).setMidSort(sortIdLevel.getMidSortId()).setMaxSort(sortIdLevel.getMaxSortId())
... ...