...
|
...
|
@@ -19,7 +19,8 @@ exports.list = (req, res, next) => { |
|
|
let params = {
|
|
|
uid: req.user.uid,
|
|
|
page: 1,
|
|
|
isApp: req.yoho.isApp
|
|
|
isApp: req.yoho.isApp,
|
|
|
unionType: req.query.union_type
|
|
|
};
|
|
|
|
|
|
req.ctx(materialModel).canLogin(params).then(result => {
|
...
|
...
|
@@ -36,7 +37,8 @@ exports.list = (req, res, next) => { |
|
|
exports.moreGoods = (req, res, next) => {
|
|
|
let params = {
|
|
|
page: req.query.page || 2,
|
|
|
isApp: req.yoho.isApp
|
|
|
isApp: req.yoho.isApp,
|
|
|
unionType: req.query.union_type
|
|
|
};
|
|
|
|
|
|
req.ctx(materialModel).list(params).then(result => {
|
...
|
...
|
|