Authored by yyq

base shop order

... ... @@ -276,16 +276,16 @@ const getBrandData = (params, extra, channel) => {
} else {
// 品牌以品牌ID查询商品
queryBase.brand = extra.brandId;
}
// 设置品牌默认排序方式
let order = params.order || 'b_w_desc';
// 设置品牌默认排序方式
searchParams.order = searchParams.order || 'b_w_desc';
}
// 调用接口
let apiMethod = [
headerModel.requestHeaderData(channel),
searchApi.getSortList(queryBase),
searchApi.getProductList(Object.assign(searchParams, {order: order}, queryBase))
searchApi.getProductList(Object.assign(searchParams, queryBase))
];
if (queryBase.brand) {
... ...