公众号登录完成

This commit is contained in:
aixianling
2022-12-29 15:39:15 +08:00
parent 0c51695264
commit affae930e0
2 changed files with 6 additions and 1 deletions

View File

@@ -205,6 +205,7 @@ let timer = {}
const oauth2Weixin = params => {
const redirect = qs.parseUrl(location.href)
delete redirect.query.code
delete redirect.query.state
return qs.stringifyUrl({
url: "https://open.weixin.qq.com/connect/oauth2/authorize",
query: {