Authored by mali

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

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