feat: 新增租户下拉组件

This commit is contained in:
xlsea
2025-04-24 21:58:07 +08:00
parent e381db8ba7
commit 23054d7750
7 changed files with 64 additions and 2 deletions

View File

@ -46,3 +46,11 @@ export function fetchSyncTenantDict() {
method: 'get'
});
}
/** 动态切换租户 */
export function fetchChangeTenant(tenantId: CommonType.IdType) {
return request<boolean>({
url: `/system/tenant/dynamic/${tenantId}`,
method: 'get'
});
}