|
|
@@ -144,7 +144,7 @@ export default { |
|
|
|
if(!success){ |
|
|
|
return |
|
|
|
} |
|
|
|
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + success.appid + "&redirect_uri=" + encodeURIComponent('http://' + window.location.host + '/pages/weixinLogin') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"; |
|
|
|
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + success.appid + "&redirect_uri=" + encodeURIComponent('http://' + window.location.host + '/#/pages/weixinLogin') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"; |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|