适应上架的企微jssdk注册认证

This commit is contained in:
aixianling
2022-05-18 14:12:43 +08:00
parent b58e04db84
commit b992df041e

View File

@@ -239,10 +239,12 @@ const store = new Vuex.Store({
return Promise.resolve()
} else {
agentSignURL = url
let action = "/app/wxcp/portal/agentSign"
if (sessionStorage.getItem("prj")?.indexOf("saas") > -1) {
params = {...params, corpId: "ww596787bb70f08288"}
action = "/wxcptp/portal/agentSign"
}
return http.post("/app/wxcp/portal/agentSign", null, {
return http.post(action, null, {
withoutToken: true,
params: {...params, url}
}).then(res => {