diff --git a/frontend/src/api/modules/setting.ts b/frontend/src/api/modules/setting.ts index b8a2ccbcc..96c1c25e6 100644 --- a/frontend/src/api/modules/setting.ts +++ b/frontend/src/api/modules/setting.ts @@ -54,16 +54,16 @@ export const loadBaseDir = () => { // backup export const handleBackup = (params: Backup.Backup) => { - return http.post(`/settings/backup/backup`, params, 400000); + return http.post(`/settings/backup/backup`, params, 600000); }; export const handleRecover = (params: Backup.Recover) => { - return http.post(`/settings/backup/recover`, params, 400000); + return http.post(`/settings/backup/recover`, params, 600000); }; export const handleRecoverByUpload = (params: Backup.Recover) => { - return http.post(`/settings/backup/recover/byupload`, params, 400000); + return http.post(`/settings/backup/recover/byupload`, params, 600000); }; export const downloadBackupRecord = (params: Backup.RecordDownload) => { - return http.post(`/settings/backup/record/download`, params); + return http.post(`/settings/backup/record/download`, params, 600000); }; export const deleteBackupRecord = (params: { ids: number[] }) => { return http.post(`/settings/backup/record/del`, params);