Skip to content

暂缓接口

1、接口说明

暂缓、取消暂缓

2、接口类型

post

3、接口使用

3.1、接口地址

http://xxxx/api/workflow/Engine/FlowBefore/pause/{id}

3.2、 调用示例

js
export function Pause (id, data) {
  return request({
    url: `${base}/pause/${id}`,
    method: 'post',
    data
  })
}

3.2、入参

入参入参类型是否必须说明
idstring流程实例id,flow_task表
idstring暂缓id,flow_pause_log表,取消时必须
taskOperatorIdstring操作id,flow_taskoperator表
commentstring(取消)暂缓原因

3.3、返回结果

json
{
  "code": 0,
  "data": {},
  "msg": "string"
}