...
|
...
|
@@ -37,9 +37,21 @@ module.exports = { |
|
|
|
|
|
/* 获取商品列表 */
|
|
|
getBrandShopGoods: (req, res) => {
|
|
|
let params = req.query;
|
|
|
|
|
|
brandModel.getBrandShopGoodsData(params).then(result => {
|
|
|
brandModel.getBrandShopGoodsData({
|
|
|
sort: req.body.sort,
|
|
|
page: req.body.page,
|
|
|
channel: req.body.filter.channel || 'men',
|
|
|
gender: req.body.filter.gender || '1,2,3',
|
|
|
brand: req.body.filter.brand,
|
|
|
shopId: req.body.filter.shopId,
|
|
|
order: req.body.filter.order || 's_t_desc',
|
|
|
limit: req.body.filter.limit || '60',
|
|
|
color: req.body.filter.color,
|
|
|
price: req.body.filter.price,
|
|
|
size: req.body.filter.size,
|
|
|
pd: req.body.filter.pd,
|
|
|
tagsFilter: req.body.filter.tagsFilter
|
|
|
}).then(result => {
|
|
|
res.json(result);
|
|
|
});
|
|
|
},
|
...
|
...
|
|