追加CorpId默认值
This commit is contained in:
@@ -236,7 +236,7 @@ const store = new Vuex.Store({
|
|||||||
},
|
},
|
||||||
agentSign(state, params) {
|
agentSign(state, params) {
|
||||||
let url = window.location.href,
|
let url = window.location.href,
|
||||||
{corpId, suiteId} = state.state.config
|
{corpId = "ww596787bb70f08288", suiteId} = state.state.config
|
||||||
if (agentSignURL == url) {
|
if (agentSignURL == url) {
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
} else {
|
} else {
|
||||||
@@ -249,7 +249,7 @@ const store = new Vuex.Store({
|
|||||||
params = params || {corpId, suiteId}
|
params = params || {corpId, suiteId}
|
||||||
}
|
}
|
||||||
return http.post("/app/wxcp/portal/agentSign", null, {
|
return http.post("/app/wxcp/portal/agentSign", null, {
|
||||||
params: {corpId: "ww596787bb70f08288", ...params, url}
|
params: {...params, url}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
let config = {
|
let config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user