测试
This commit is contained in:
parent
f28efe8103
commit
9d9cafd74a
@ -242,7 +242,7 @@ const wxAuthGetCode = () => {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
var url = window.location.href;
|
var url = urlEncode(window.location.href);
|
||||||
// window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+ appId +'&redirect_uri='+ REDIRECT_URI +'&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect';
|
// window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+ appId +'&redirect_uri='+ REDIRECT_URI +'&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect';
|
||||||
window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx35766a64d73d08a9&redirect_uri={{url}}&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect`
|
window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx35766a64d73d08a9&redirect_uri={{url}}&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect`
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user