...
|
...
|
@@ -187,7 +187,8 @@ const userController = { |
|
|
if (referer && (referer.indexOf('yoho.cn') >= 0)) {
|
|
|
_.set(req.session, 'user.wechatReferer', referer);
|
|
|
_.set(req.session, 'user.wechatState', state);
|
|
|
console.log(req.session);
|
|
|
|
|
|
// console.log(req.session);
|
|
|
res.redirect(WECHAT_LOGIN_URL);
|
|
|
} else {
|
|
|
res.json({
|
...
|
...
|
|