Skip to content

Commit 5cfb67d

Browse files
author
kehaiyou
committed
fix: 【工作流】--加签减签review修改接口地址
1 parent 826199d commit 5cfb67d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/bpm/task/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@ export const delegateTask = async (data) => {
6363
* 加签
6464
*/
6565
export const taskAddSign = async (data) => {
66-
return await request.put({ url: '/bpm/task/add-sign', data })
66+
return await request.put({ url: '/bpm/task/create-sign', data })
6767
}
6868

6969
/**
7070
* 获取减签任务列表
7171
*/
7272
export const getChildrenTaskList = async (id: string) => {
73-
return await request.get({ url: '/bpm/task/get-children-task-list?taskId=' + id })
73+
return await request.get({ url: '/bpm/task/children-list?taskId=' + id })
7474
}
7575

7676
/**
7777
* 减签
7878
*/
7979
export const taskSubSign = async (data) => {
80-
return await request.put({ url: '/bpm/task/sub-sign', data })
80+
return await request.delete({ url: '/bpm/task/delete-sign', data })
8181
}

0 commit comments

Comments
 (0)