截止‘运力管理’模块

This commit is contained in:
2026-07-20 11:26:51 +08:00
parent e66b4a3680
commit c6dffb5d97
98 changed files with 19429 additions and 176 deletions
+6 -5
View File
@@ -45,17 +45,18 @@ export const loginBySocial = (tenantId, source, code, state) =>
},
});
export const loginBySso = (state, code) =>
export const loginBySso = (tenantId, state, code) =>
request({
url: '/blade-auth/oauth/token',
url: '/blade-auth/iam/sso/token',
method: 'post',
headers: {
'Tenant-Id': state,
'Tenant-Id': tenantId,
},
params: {
tenantId: state,
tenant_id: tenantId,
code,
grant_type: 'authorization_code',
state,
grant_type: 'iam_sso',
scope: 'all',
redirect_uri: website.oauth2.redirectUri,
},