mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
perf: Lazy loading for third-party platform organization structure
This commit is contained in:
committed by
fit2cloud-chenyw
parent
0b4a765115
commit
faa5c9f2e0
@@ -27,6 +27,7 @@ export const modelApi = {
|
||||
query: (id: number) => request.get(`/system/aimodel/${id}`),
|
||||
setDefault: (id: number) => request.put(`/system/aimodel/default/${id}`),
|
||||
check: (data: any) => request.fetchStream('/system/aimodel/status', data),
|
||||
platform: (id: number) => request.get(`/system/platform/org/${id}`),
|
||||
platform: (id: number, lazy?: number, pid?: string) =>
|
||||
request.get(`/system/platform/org/${id}`, { params: { lazy, pid } }),
|
||||
userSync: (data: any) => request.post(`/system/platform/user/sync`, data),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user