打印oauth2
This commit is contained in:
@@ -232,6 +232,7 @@ export const wxwork = {
|
|||||||
.replace(/REDIRECT_URI/g, REDIRECT_URI)
|
.replace(/REDIRECT_URI/g, REDIRECT_URI)
|
||||||
.replace(/SCOPE/g, scope)
|
.replace(/SCOPE/g, scope)
|
||||||
.replace(/AGENTID/g, agentId)
|
.replace(/AGENTID/g, agentId)
|
||||||
|
console.log(oauthURL)
|
||||||
location.replace(oauthURL)
|
location.replace(oauthURL)
|
||||||
} else if (!tryAgentSign && corpId) {
|
} else if (!tryAgentSign && corpId) {
|
||||||
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())
|
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())
|
||||||
|
|||||||
Reference in New Issue
Block a user