From 5cfb67d0472ccf3bcaecc0d9a4d6cadc6116e3b5 Mon Sep 17 00:00:00 2001 From: kehaiyou <71740796@qq.com> Date: Sat, 21 Oct 2023 18:16:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E3=80=91--=E5=8A=A0=E7=AD=BE=E5=87=8F=E7=AD=BEreview=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/task/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index f1359194..7b599509 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -63,19 +63,19 @@ export const delegateTask = async (data) => { * 加签 */ export const taskAddSign = async (data) => { - return await request.put({ url: '/bpm/task/add-sign', data }) + return await request.put({ url: '/bpm/task/create-sign', data }) } /** * 获取减签任务列表 */ export const getChildrenTaskList = async (id: string) => { - return await request.get({ url: '/bpm/task/get-children-task-list?taskId=' + id }) + return await request.get({ url: '/bpm/task/children-list?taskId=' + id }) } /** * 减签 */ export const taskSubSign = async (data) => { - return await request.put({ url: '/bpm/task/sub-sign', data }) + return await request.delete({ url: '/bpm/task/delete-sign', data }) }