File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
wechatHandleClick (thirdpart ) {
21
21
this .$store .commit (' SET_AUTH_TYPE' , thirdpart);
22
22
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' );
24
24
const url = ' https://open.weixin.qq.com/connect/qrconnect?appid=' + appid + ' &redirect_uri=' + redirect_uri + ' &response_type=code&scope=snsapi_login#wechat_redirect' ;
25
25
openWindow (url, thirdpart, 540 , 540 );
26
26
},
27
27
tencentHandleClick (thirdpart ) {
28
28
this .$store .commit (' SET_AUTH_TYPE' , thirdpart);
29
29
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' );
31
31
const url = ' https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=' + client_id + ' &redirect_uri=' + redirect_uri;
32
32
openWindow (url, thirdpart, 540 , 540 );
33
33
}
You can’t perform that action at this time.
0 commit comments