Skip to content

Commit 3aa325d

Browse files
perf: Optimize third-party organization API loading
1 parent faa5c9f commit 3aa325d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/api/system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ export const modelApi = {
2828
setDefault: (id: number) => request.put(`/system/aimodel/default/${id}`),
2929
check: (data: any) => request.fetchStream('/system/aimodel/status', data),
3030
platform: (id: number, lazy?: number, pid?: string) =>
31-
request.get(`/system/platform/org/${id}`, { params: { lazy, pid } }),
31+
request.post(`/system/platform/org/${id}`, { lazy, pid }),
3232
userSync: (data: any) => request.post(`/system/platform/user/sync`, data),
3333
}

0 commit comments

Comments
 (0)