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