...
|
...
|
@@ -70,10 +70,13 @@ public class ProductSearchController { |
|
|
order = "pools.order_by:desc";
|
|
|
} else if (type == 2) {
|
|
|
isSoonSale = "Y";
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(productPool)
|
|
|
&& StringUtils.isBlank(query)
|
|
|
&& StringUtils.isBlank(order)) {
|
|
|
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())
|
|
|
.setSeries(series).setGender(gender).setSize(size).setIsSoonSale(isSoonSale).setViewNum(limit).setPage(page).setIsIdFilter(type).setSearchType(type);
|
...
|
...
|
|