feat: 新增单点登录回调页面

This commit is contained in:
xlsea
2025-04-24 17:36:38 +08:00
parent b31edb5f8c
commit c2818257dc
17 changed files with 207 additions and 10 deletions

View File

@ -4,3 +4,4 @@ export * from './user';
export * from './dept';
export * from './role';
export * from './post';
export * from './social';

View File

@ -0,0 +1,13 @@
import { request } from '../../request';
/** 绑定账户 */
export function fetchSocialAuthBinding(source: Api.System.SocialSource, tenantId: string = '000000') {
return request<string>({
url: `/auth/binding/${source}`,
method: 'get',
params: {
tenantId,
domain: window.location.host
}
});
}