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 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 }
You can’t perform that action at this time.
0 commit comments