mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 新增租户下拉组件
This commit is contained in:
@ -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'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user