Showing
1 changed file
with
2 additions
and
1 deletions
@@ -29,7 +29,8 @@ function doPassportCallback(openId, nickname, req, res) { | @@ -29,7 +29,8 @@ function doPassportCallback(openId, nickname, req, res) { | ||
29 | if (result.data['is_bind'] && result.data['is_bind'] === 'N') { //eslint-disable-line | 29 | if (result.data['is_bind'] && result.data['is_bind'] === 'N') { //eslint-disable-line |
30 | return helpers.urlFormat('/passport/bind/index', { | 30 | return helpers.urlFormat('/passport/bind/index', { |
31 | openId: openId, | 31 | openId: openId, |
32 | - sourceType: 'wechat' | 32 | + sourceType: 'wechat', |
33 | + refer: refer | ||
33 | }); | 34 | }); |
34 | } else if (result.code === 200 && result.data.uid) { | 35 | } else if (result.code === 200 && result.data.uid) { |
35 | return AuthHelper.syncUserSession(result.data.uid, req, res).then(() => { | 36 | return AuthHelper.syncUserSession(result.data.uid, req, res).then(() => { |
-
Please register or login to post a comment