...
|
...
|
@@ -128,7 +128,7 @@ exports.getCity = (req, res, next) => { |
|
|
}).catch(next);
|
|
|
};
|
|
|
|
|
|
exports.coinMall = (req, res) => {
|
|
|
exports.coinMall = (req, res, next) => {
|
|
|
let responseData = {
|
|
|
module: 'home',
|
|
|
page: 'family-coinMall',
|
...
|
...
|
@@ -140,7 +140,15 @@ exports.coinMall = (req, res) => { |
|
|
localCss: true
|
|
|
};
|
|
|
|
|
|
res.render('family/coin-mall', Object.assign(responseData, ''));
|
|
|
let params = {
|
|
|
uid: req.user.uid,
|
|
|
isMarsApp: req.yoho.isMarsApp,
|
|
|
isNowApp: req.yoho.isNowApp
|
|
|
};
|
|
|
|
|
|
req.ctx(family).coinMall(params).then(result => {
|
|
|
res.render('family/coin-mall', Object.assign(responseData, result));
|
|
|
}).catch(next);
|
|
|
};
|
|
|
|
|
|
exports.getList = (req, res, next) => {
|
...
|
...
|
|