...
|
...
|
@@ -41,7 +41,7 @@ const shop = (shopId, req, res, next) => { |
|
|
exports.index = (req, res, next) => {
|
|
|
let resData = {};
|
|
|
|
|
|
list.getListData(req.query).then(result => {
|
|
|
list.getListData(req.query, req.yoho.channel).then(result => {
|
|
|
Object.assign(resData, result);
|
|
|
res.render('list/index', resData);
|
|
|
}).catch(next);
|
...
|
...
|
|