fix: 个别接口超时时间60秒

This commit is contained in:
TsMask
2023-11-01 17:43:31 +08:00
parent d16d044a7e
commit 150f547e50
4 changed files with 9 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ export async function downloadNeSoftware(data: Record<string, any>) {
url: `/api/rest/systemManagement/v1/${data.neType}/software/${data.version}`,
method: 'get',
responseType: 'blob',
timeout: 60 * 1000,
});
}
@@ -96,6 +97,7 @@ export function uploadNeSoftware(data: FormData) {
method: 'post',
data,
dataType: 'form-data',
timeout: 60 * 1000,
});
}