提交 096f7743 authored 作者: pengxiaohui's avatar pengxiaohui

修改回调地址bug

上级 bc503d12
......@@ -148,7 +148,7 @@ export default {
}
},
getCode() {
const redirectURI = window.location.href
const redirectURI = `https://pages.ezijing.com/given/auth.html?redirect_uri=${encodeURIComponent(window.location.href)}`
window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx451c01d40d090d7a&redirect_uri=${redirectURI}&response_type=code&scope=snsapi_base#wechat_redirect`
},
// 获取微信openid
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论