|
|
'use strict';
|
|
|
|
|
|
const expandModel = require('../models/expand-new'),
|
|
|
headerModel = require('../../../doraemon/models/header');
|
|
|
headerModel = require('../../../doraemon/models/header'),
|
|
|
stringProcess = require(`${global.utils}/string-process`);
|
|
|
|
|
|
let yhchannels = {
|
|
|
'1,3': 1,
|
...
|
...
|
@@ -100,7 +101,7 @@ exports.friendInvite = (req, res, next) => { |
|
|
let isApp = req.yoho.isApp;
|
|
|
let inciteCode = req.query.inviteCode;
|
|
|
let contentCode = '319f92c4b072c3c40ea4cb4499b78bb4';
|
|
|
let token = req.query.token ? decodeURIComponent(req.query.token) : req.query.token;
|
|
|
let token = req.query.token ? stringProcess.decodeURIComponent(req.query.token) : '';
|
|
|
|
|
|
req.ctx(expandModel).friendInvite(inciteCode, yhChannel, limit, page, contentCode, token).then(result => {
|
|
|
res.render('expand-new/friend-invite', {
|
...
|
...
|
|