Skip to content

Commit b3579de

Browse files
committed
use mock url
1 parent 5cf84fe commit b3579de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/login/socialsignin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
wechatHandleClick(thirdpart) {
2121
this.$store.commit('SET_AUTH_TYPE', thirdpart);
2222
const appid = 'xxxxx';
23-
const redirect_uri = encodeURIComponent('http://wallstreetcn.com/auth/redirect?redirect=' + window.location.origin + '/authredirect');
23+
const redirect_uri = encodeURIComponent('xxx/redirect?redirect=' + window.location.origin + '/authredirect');
2424
const url = 'https://open.weixin.qq.com/connect/qrconnect?appid=' + appid + '&redirect_uri=' + redirect_uri + '&response_type=code&scope=snsapi_login#wechat_redirect';
2525
openWindow(url, thirdpart, 540, 540);
2626
},
2727
tencentHandleClick(thirdpart) {
2828
this.$store.commit('SET_AUTH_TYPE', thirdpart);
2929
const client_id = 'xxxxx';
30-
const redirect_uri = encodeURIComponent('http://wallstreetcn.com/auth/redirect?redirect=' + window.location.origin + '/authredirect');
30+
const redirect_uri = encodeURIComponent('xxx/redirect?redirect=' + window.location.origin + '/authredirect');
3131
const url = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=' + client_id + '&redirect_uri=' + redirect_uri;
3232
openWindow(url, thirdpart, 540, 540);
3333
}

0 commit comments

Comments
 (0)