Authored by 姜枫

处理列表 商品详情页url

... ... @@ -51,7 +51,7 @@ const Query = {
queryParams: q
};
res.display('list', _.assign(retData, {
products: data.productList,
products: DataHelper.handleProductList(data.productList),
order: q.order
}));
} else {
... ...
... ... @@ -95,7 +95,7 @@ const shop = {
};
res.display('shop-list', _.assign(data, {
products: ret.productList,
products: DataHelper.handleProductList(data.productList),
order: q.order
}));
} else {
... ...