fix: 接口超时 180_1000

This commit is contained in:
TsMask
2023-11-01 17:53:59 +08:00
parent 25f7b105eb
commit 0835afa374
15 changed files with 25 additions and 20 deletions

View File

@@ -11,6 +11,7 @@ export function exportSub(query: Record<string, any>) {
method: 'post',
data: query,
responseType: 'blob',
timeout: 180_000,
});
}
@@ -26,6 +27,7 @@ export function importSubData(neId: string, data: FormData) {
method: 'post',
data,
dataType: 'form-data',
timeout: 180_000,
});
}
@@ -38,7 +40,7 @@ export function loadSub(neId: string) {
return request({
url: `/api/rest/udmUserManage/v1/subSave/${neId}`,
method: 'post',
timeout: 60 * 1000,
timeout: 180_000,
});
}