...
|
...
|
@@ -23,7 +23,7 @@ const redbagPage = async(req, res, next) => { |
|
|
}
|
|
|
return res.render('red-envelope/redbag-cs', {
|
|
|
pageHeader: headerModel.setNav({
|
|
|
navTitle: '红包-客服'
|
|
|
navTitle: '添加潮流顾问'
|
|
|
}),
|
|
|
isApp,
|
|
|
isGetRedBag,
|
...
|
...
|
@@ -32,14 +32,14 @@ const redbagPage = async(req, res, next) => { |
|
|
module: 'activity',
|
|
|
page: 'redbag-cs',
|
|
|
userInfo: userInfo.data,
|
|
|
title: '红包-客服'
|
|
|
title: '添加潮流顾问'
|
|
|
});
|
|
|
} else {
|
|
|
const pageData = await req.ctx(redbagModel).renderByUser(obj);
|
|
|
|
|
|
return res.render('red-envelope/redbag-user', {
|
|
|
pageHeader: headerModel.setNav({
|
|
|
navTitle: '红包-用户'
|
|
|
navTitle: '领取现金红包'
|
|
|
}),
|
|
|
isApp,
|
|
|
width750: true,
|
...
|
...
|
@@ -49,7 +49,7 @@ const redbagPage = async(req, res, next) => { |
|
|
pageData: Object.assign({
|
|
|
shareCode: obj.shareCode
|
|
|
}, pageData),
|
|
|
title: '红包-用户'
|
|
|
title: '领取现金红包'
|
|
|
});
|
|
|
}
|
|
|
} catch (error) {
|
...
|
...
|
|