diff --git a/src/service/api/workflow.ts b/src/service/api/workflow.ts index 12c4263..94d35bd 100644 --- a/src/service/api/workflow.ts +++ b/src/service/api/workflow.ts @@ -122,8 +122,9 @@ export function fetchNodeStop(nodeId: string, taskBatchId: string) { export function fetchDeleteWorkflowBatch(id: string) { return request({ - url: `/workflow/batch/${id}`, - method: 'delete' + url: '/workflow/batch/ids', + method: 'delete', + data: [id] }); }