...
|
...
|
@@ -18,8 +18,7 @@ let channels = { |
|
|
exports.promotion = (req, res, next) => {
|
|
|
let uid = req.user.uid,
|
|
|
isApp = req.yoho.isApp,
|
|
|
contentCode = req.app.locals.isProduction ? 'b2b5cde8144aff3073573c3b323344ab' :
|
|
|
'fa046a09b7c2c0e06927162404d95111'; // 产品线上线下配的资源码不一样
|
|
|
contentCode = 'b2b5cde8144aff3073573c3b323344ab';
|
|
|
|
|
|
req.ctx(expandModel).promotionData(uid, isApp, contentCode).then(result => {
|
|
|
res.render('expand-new/my-promotion', {
|
...
|
...
|
@@ -100,8 +99,7 @@ exports.friendInvite = (req, res, next) => { |
|
|
let page = req.query.page || 1;
|
|
|
let isApp = req.yoho.isApp;
|
|
|
let inciteCode = req.query.inviteCode;
|
|
|
let contentCode = req.app.locals.isProduction ? '319f92c4b072c3c40ea4cb4499b78bb4' :
|
|
|
'bc31b5d58b5af4e3999e8b994fb2bbc1';
|
|
|
let contentCode = '319f92c4b072c3c40ea4cb4499b78bb4';
|
|
|
|
|
|
req.ctx(expandModel).friendInvite(inciteCode, yhChannel, limit, page, contentCode).then(result => {
|
|
|
res.render('expand-new/friend-invite', {
|
...
|
...
|
|