...
|
...
|
@@ -5,16 +5,32 @@ const headerModel = require('../../../doraemon/models/header'); |
|
|
|
|
|
exports.promotion = (req, res) => {
|
|
|
// let uid = req.user.uid,
|
|
|
// isApp = req.yoho.isApp;
|
|
|
|
|
|
let isApp = req.yoho.isApp;
|
|
|
|
|
|
res.render('expand-new/my-promotion', {
|
|
|
pageHeader: headerModel.setNav({
|
|
|
navTitle: '我的邀请码'
|
|
|
}),
|
|
|
// isApp: isApp,
|
|
|
isApp: isApp,
|
|
|
width750: true,
|
|
|
localCss: true,
|
|
|
title: '我的邀请码',
|
|
|
page: 'my-promotion'
|
|
|
});
|
|
|
};
|
|
|
|
|
|
exports.rewardList = (req, res) => {
|
|
|
let isApp = req.yoho.isApp;
|
|
|
|
|
|
res.render('expand-new/reward-list', {
|
|
|
pageHeader: headerModel.setNav({
|
|
|
navTitle: '我的奖励'
|
|
|
}),
|
|
|
isApp: isApp,
|
|
|
width750: true,
|
|
|
localCss: true,
|
|
|
title: '我的奖励',
|
|
|
page: 'my-reward'
|
|
|
});
|
|
|
}; |
...
|
...
|
|