mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 03:48:24 +00:00
4.8.5 test (#1805)
* perf: revert tip * feat: create copy app * perf: file stream read * perf: read directory over 100 files * perf: index * fix: team chat api error * lock * fix: i18n file
This commit is contained in:
@@ -10,7 +10,7 @@ export const postUploadFiles = (
|
||||
onUploadProgress: (progressEvent: AxiosProgressEvent) => void
|
||||
) =>
|
||||
POST<string>('/common/file/upload', data, {
|
||||
timeout: 480000,
|
||||
timeout: 600000,
|
||||
onUploadProgress,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data; charset=utf-8'
|
||||
|
@@ -6,6 +6,7 @@ import type {
|
||||
transitionWorkflowBody,
|
||||
transitionWorkflowResponse
|
||||
} from '@/pages/api/core/app/transitionWorkflow';
|
||||
import type { copyAppQuery, copyAppResponse } from '@/pages/api/core/app/copy';
|
||||
|
||||
/* folder */
|
||||
export const postCreateAppFolder = (data: CreateAppFolderBody) =>
|
||||
@@ -15,6 +16,7 @@ export const getAppFolderPath = (parentId: ParentIdType) =>
|
||||
GET<ParentTreePathItemType[]>(`/core/app/folder/path`, { parentId });
|
||||
|
||||
/* detail */
|
||||
|
||||
export const postTransition2Workflow = (data: transitionWorkflowBody) =>
|
||||
POST<transitionWorkflowResponse>('/core/app/transitionWorkflow', data);
|
||||
|
||||
export const postCopyApp = (data: copyAppQuery) => POST<copyAppResponse>('/core/app/copy', data);
|
||||
|
Reference in New Issue
Block a user