feat: 批量下载任务

This commit is contained in:
rd
2025-07-21 15:10:26 +08:00
parent 4800d5fa99
commit e6798bf313
8 changed files with 103 additions and 20 deletions

View File

@ -47,4 +47,14 @@ export const patchTaskRead = (params = {}) => {
// 任务中心-重做任务
export const postRedoTask = (id: string) => {
return Http.post(`/v1/tasks/${id}/redo`);
};
// 任务中心-批量下载
export const postBatchDownload = (params = {}) => {
return Http.post(`/v1/tasks/batch-download`, params);
};
// 任务中心-批量查询任务状态
export const batchQueryTaskStatus = (params = {}) => {
return Http.get(`/v1/tasks/batch-query-status`, params);
};