feat: 添加同步租户套餐的功能,并更新租户选择器逻辑。

This commit is contained in:
AN
2025-05-18 01:21:22 +08:00
parent 0c40aa32db
commit d587ce4338
4 changed files with 35 additions and 8 deletions

View File

@ -47,6 +47,15 @@ export function fetchSyncTenantDict() {
});
}
/** 同步租户套餐 */
export function fetchSyncTenantPackage(params: Api.System.SyncTenantPackageParams) {
return request<boolean>({
url: '/system/tenant/syncTenantPackage',
method: 'get',
params
});
}
/** 动态切换租户 */
export function fetchChangeTenant(tenantId: CommonType.IdType) {
return request<boolean>({