打印oauth2

This commit is contained in:
aixianling
2022-07-20 09:13:35 +08:00
parent eda5128d4b
commit a524fd5118

View File

@@ -232,6 +232,7 @@ export const wxwork = {
.replace(/REDIRECT_URI/g, REDIRECT_URI)
.replace(/SCOPE/g, scope)
.replace(/AGENTID/g, agentId)
console.log(oauthURL)
location.replace(oauthURL)
} else if (!tryAgentSign && corpId) {
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())