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