feat: 批量下载任务
This commit is contained in:
@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user