💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## 流程审批测试数据 ### 1.请求方式 如果需要查看swagger文档,需要先点击链接登陆,登陆后,可以访问swagger地址。登陆的账号cangchuwuliu、密码123456(测试数据建立不易,请珍惜,不要随意修改) [登陆链接](http://120.27.34.14:30111/deta/scene-talk/#/Login) [swagger api doc文档地址](http://120.27.34.14:31338/doc.html) [流程配置界面](http://120.27.34.14:30111/deta/scene-talk/dataFactory.html#/zhyv1/approvalFlowManagement) ### 2.调用逻辑 ![表单条件](https://tva1.sinaimg.cn/large/e6c9d24ely1h5gq7e5fqtj219k0iajtf.jpg) ![使用特征值过滤](https://tva1.sinaimg.cn/large/e6c9d24ely1h5gq7y9ud2j21780dk765.jpg) ![使用template_id查询](https://tva1.sinaimg.cn/large/e6c9d24ely1h5gq8kps21j217u05wwfc.jpg) ### 2.测试流程 > ***所有接口都需要携带请求头*** **请求头:** ```json { "account":"admin",# 操作人的用户account "__secretId__":"", # 由我方提供 "__secretKey__":"",# 由我方提供 "__timestamp__":0, # 当前时间戳 "__sign__","" # MD5(secretId+'|'+secretKey+'|'+timestamp) } ``` **请求地址:** > url= http://120.27.34.14:31338/ #### 2.1 使用流程引擎的表单 ##### 1) 表单查询列表 > cb_type 如果为空,就会返回所有的 **请求地址:** ```html {url}/v1/hybpm/form ``` **请求参数:** ```json { "cb_type":"58c91c11053712a2c47b6528f2f4bdc8" } ``` 返回参数: ```json { "result": [ { "name": "审批表单", "id": "336f9a68-90c0-4573-87dd-6e389474cca6" }, { "name": "创建表单", "id": "7f85aae1-1ddb-4893-8683-e75022cede06" }, { "name": "sample_table", "id": "e2cfab20-b367-45a9-8995-1acc2eefb918" } ], "httpCode": 200, "message": "OK" } ``` ##### 2) 表单明细 **此接口可以获取表单的详细信息,如果使用流程引擎提供的表单,需要把result返回的信息,在创建审批时,回传form_value** **请求地址:** ```html {url}/v1/hybpm/form/{formId} ``` **请求参数:** ```json {} ``` 返回参数: ```json { "result": { "bt": "Input" }, "httpCode": 200, "message": "OK" } ``` #### 2.2 使用template_id创建完成审批 ##### 1) 通过模板name查询id **请求地址:** ```html {url}/v1/hybpm/query/template/简单流程测试 ``` **请求参数:** ```json {} ``` 返回参数: ```json { "result": [ { "id": "50a5a420276b40ffbae65977a7db6fb9", "name": "简单流程测试" } ], "httpCode": 200, "message": "OK" } ``` ##### 2) 创建审批 **template_id在界面创建好流程模板后,通过1)接口查询id** | 字段名 | 作用 | | :--------- | ------------------------------------------------------------ | | detail_url | 表单的url地址,如果使用自己的表单编辑,需要传递,会内嵌detail_url展示用 | | notify_url | 通知地址,在审批完结等节点,会回调地址,返回参数信息,除入参外,其他参数可以和对接人员沟通 | | update_url | 表单退回到初节点,界面会内嵌update_url修改表单 | **请求地址:** ```html {url}/v1/hybpm/create ``` **请求参数:** ```json { "attachment": [ "https://tva1.sinaimg.cn/large/e6c9d24ely1h5wnk6akydj218u0mqmxs.jpg" ], "template_id": "50a5a420276b40ffbae65977a7db6fb9", "detail_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "notify_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "update_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "title": "一个测试标题", "form_value": { "firstValue": "btValue" } } ``` 返回参数: ```json { "result": { "approved_user": "[{\"name\":\"系统管理员\",\"time\":1662357615786,\"nodeId\":\"startevent\",\"account\":\"admin\"}]", "approve_index": "bpm_approve_list_2022.09.05", "approve_time": 1662357615786, "approve_id": "68cdb866-ad87-49a8-b737-c8d403b8e61f" }, "httpCode": 200, "message": "OK" } ``` ##### 2) 修改审批 **创建审批后,在初始节点可以修改审批信息** **请求地址:** ```html {url}/v1/hybpm/update ``` **请求参数:** ```json { "form_value": { "意见": "同意" }, "attachment": [ "https://tva1.sinaimg.cn/large/e6c9d24ely1h4ecx8wuc3j20u00zg47w.jpg" ], "approve_id": "68cdb866-ad87-49a8-b737-c8d403b8e61f", "detail_url": "https://www.zhiweicoding.xyz/post/new-hugo-blog/", "notify_url": "https://www.zhiweicoding.xyz/post/new-hugo-blog/", "update_url": "https://www.zhiweicoding.xyz/post/new-hugo-blog/", "title": "dzw测试用-勿动-勿删-勿碰1" } ``` 返回参数: ```json { "httpCode": 200, "message": "OK" } ``` ##### 4) 审批动作 **在审批节点,进行审批操作,node_id可通过查询审批明细和业务节点取得** **目前因为测试数据人员信息较少,没有根据用户account 和审批人身份校验** **请求地址:** ```html {url}/v1/hybpm/record/create ``` **请求参数:** ```json { "form_value": "{\"意见\":\"very good\"}", "attachment": "[\"https://tva1.sinaimg.cn/large/e6c9d24ely1h4kcjb8an0j20u019ewid.jpg\"]", "approve_id": "20280f68-a16e-4110-b94a-7f6b5bfe662f", "bpm_id": "2f189b6fdffd4dec89bbadea52332120", "node_id": "endevent", "opinion": "endevent", "title": "sample-流程" } ``` 返回参数: ```json { "result": { "approved_user": "[{\"name\":\"系统管理员\",\"time\":1662357615786,\"nodeId\":\"startevent\",\"account\":\"admin\"}]", "approve_index": "bpm_approve_list_2022.09.05", "approve_time": 1662357615786, "approve_id": "68cdb866-ad87-49a8-b737-c8d403b8e61f" }, "httpCode": 200, "message": "OK" } ``` #### 2.3查询审批列表和审批明细 ##### 1) 查看审批列表 **通过类dsl语句可以查看流程信息** **请求地址:** ```html {url}/v1/hybpm/find ``` **请求参数:** ```json { "filters": { "filter": { "and": [ { "field": "title", "ops": "eq", "value": "20220801-v1" } ] }, "pagination": { "page": 1, "size": 10 }, "sort": { "fields": [ "create_time" ], "direction": "DESC" } } } ``` 返回参数: ```json { "result": { "size": 1, "data": [ { "detail_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "title": "一个测试标题", "type": "0", "attachment": "[https://tva1.sinaimg.cn/large/e6c9d24ely1h5wnk6akydj218u0mqmxs.jpg]", "update_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "state": "待审批", "create_time": 1662429589687, "approve_id": "e35114f4-935c-4f7a-9d18-d44c5eb81d78", "notify_url": "https://www.baidu.com/s?wd=%E6%B5%8B%E8%AF%95", "form_template": "{\"fields\":[{\"dragPos\":{\"x\":97,\"y\":20},\"name\":\"双列布局\",\"type\":\"MultiCol\",\"_uuid\":\"d94b0d3e-d394-4b80-9687-532cfe60b606\",\"labelWidth\":100,\"cols\":[{\"width\":50,\"unit\":\"%\"},{\"width\":50,\"unit\":\"%\"}],\"children\":[{\"dragPos\":{\"x\":103,\"y\":14},\"name\":\"内容1\",\"type\":\"Input\",\"bindData\":true,\"_uuid\":\"efc27600-a17c-493b-b0fa-06a7d7331788\",\"weakDisplay\":true,\"placeholder\":\"请输入内容\",\"id\":\"内容1\",\"widthPercent\":true,\"width\":100,\"tips\":\"\",\"visibleExp\":\"\",\"fieldAttribute\":\"\",\"writeDataEntityConfig\":false},{\"dragPos\":{\"x\":88,\"y\":18},\"name\":\"内容2\",\"type\":\"Input\",\"bindData\":true,\"_uuid\":\"21baaea2-f856-429d-9061-9d5d901511aa\",\"weakDisplay\":true,\"placeholder\":\"请输入内容\",\"id\":\"内容2\",\"widthPercent\":true,\"width\":100,\"tips\":\"\",\"writeDataEntityConfig\":false}],\"width\":100,\"tips\":\"\"}],\"width\":600,\"height\":600,\"background\":\"white\",\"screen\":\"computer\",\"tagAlign\":\"left\",\"textAlign\":\"left\",\"labelWidth\":100}", "form_value": "{firstValue=btValue}", "approve_ui_config": "{\"nodes\":[{\"id\":\"startevent\",\"type\":\"start\",\"x\":-59,\"y\":79,\"properties\":{\"order\":1,\"name\":\"提交表单\",\"node_id\":\"startevent\",\"type\":\"start\",\"form_config_name\":\"创建表单\",\"form_config_id\":\"7f85aae1-1ddb-4893-8683-e75022cede06\",\"form_template\":\"{\\\"fields\\\":[{\\\"dragPos\\\":{\\\"x\\\":97,\\\"y\\\":20},\\\"name\\\":\\\"双列布局\\\",\\\"type\\\":\\\"MultiCol\\\",\\\"_uuid\\\":\\\"d94b0d3e-d394-4b80-9687-532cfe60b606\\\",\\\"labelWidth\\\":100,\\\"cols\\\":[{\\\"width\\\":50,\\\"unit\\\":\\\"%\\\"},{\\\"width\\\":50,\\\"unit\\\":\\\"%\\\"}],\\\"children\\\":[{\\\"dragPos\\\":{\\\"x\\\":103,\\\"y\\\":14},\\\"name\\\":\\\"内容1\\\",\\\"type\\\":\\\"Input\\\",\\\"bindData\\\":true,\\\"_uuid\\\":\\\"efc27600-a17c-493b-b0fa-06a7d7331788\\\",\\\"weakDisplay\\\":true,\\\"placeholder\\\":\\\"请输入内容\\\",\\\"id\\\":\\\"内容1\\\",\\\"widthPercent\\\":true,\\\"width\\\":100,\\\"tips\\\":\\\"\\\",\\\"visibleExp\\\":\\\"\\\",\\\"fieldAttribute\\\":\\\"\\\",\\\"writeDataEntityConfig\\\":false},{\\\"dragPos\\\":{\\\"x\\\":88,\\\"y\\\":18},\\\"name\\\":\\\"内容2\\\",\\\"type\\\":\\\"Input\\\",\\\"bindData\\\":true,\\\"_uuid\\\":\\\"21baaea2-f856-429d-9061-9d5d901511aa\\\",\\\"weakDisplay\\\":true,\\\"placeholder\\\":\\\"请输入内容\\\",\\\"id\\\":\\\"内容2\\\",\\\"widthPercent\\\":true,\\\"width\\\":100,\\\"tips\\\":\\\"\\\",\\\"writeDataEntityConfig\\\":false}],\\\"width\\\":100,\\\"tips\\\":\\\"\\\"}],\\\"width\\\":600,\\\"height\\\":600,\\\"background\\\":\\\"white\\\",\\\"screen\\\":\\\"computer\\\",\\\"tagAlign\\\":\\\"left\\\",\\\"textAlign\\\":\\\"left\\\",\\\"labelWidth\\\":100}\",\"form_factor\":[],\"step_type\":1,\"report\":true,\"describe\":false,\"describeName\":\"审批描述\",\"annex\":false,\"flow\":{\"up_step\":[],\"under_step\":[{\"node_id\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"edge_id\":\"Flow_2iq3op6\",\"node_name\":\"本部门主管审批\",\"node_type\":\"approve\",\"order\":2,\"value\":\"同意\",\"outside_value\":\"\",\"select_node\":1,\"otherObj\":{\"role_id\":\"\",\"domain_id\":\"100001\",\"script\":\"\",\"other\":{\"name\":\"\",\"did\":\"\",\"nodeId\":\"\"},\"user\":[]},\"appointUser\":false,\"popoverVisible\":false,\"configPopoverVisible\":false}]},\"jump\":{\"jump_list\":[]},\"call_back_type\":\"\",\"index\":1,\"reportName\":\"审批意见\",\"appointUser\":false}},{\"id\":\"endevent\",\"type\":\"end\",\"x\":684,\"y\":78,\"properties\":{\"order\":4,\"name\":\"完成审批\",\"node_id\":\"endevent\",\"api\":\"\",\"type\":\"end\",\"call_back_type\":\"\",\"flow\":{\"up_step\":[{\"node_id\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"edge_id\":\"Flow_0jeoi9l\",\"node_name\":\"本部门主管审批\",\"node_type\":\"approve\",\"order\":2,\"celerity_flow\":false}],\"under_step\":[]},\"reportName\":\"审批意见\",\"report\":true,\"describe\":true,\"describeName\":\"审批描述\",\"annex\":true,\"appointUser\":false,\"step_type\":1,\"jump\":{\"is_condition\":false,\"condition_num\":1,\"back_one\":1,\"jump_list\":[]}}},{\"id\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"type\":\"approve\",\"x\":305,\"y\":79,\"properties\":{\"report\":true,\"reportName\":\"审批意见\",\"describe\":true,\"describeName\":\"审批描述\",\"annex\":true,\"appointUser\":false,\"step_type\":1,\"jump\":{\"is_condition\":false,\"condition_num\":1,\"back_one\":1,\"jump_list\":[]},\"state\":\"本部门主管审批\",\"stateColor\":\"rgba(235, 18, 18, 1)\",\"name\":\"本部门主管审批\",\"type\":\"approve\",\"node_id\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"form_config_name\":\"审批表单\",\"form_config_id\":\"336f9a68-90c0-4573-87dd-6e389474cca6\",\"form_template\":\"{\\\"fields\\\":[{\\\"dragPos\\\":{\\\"x\\\":75,\\\"y\\\":8},\\\"name\\\":\\\"意见\\\",\\\"type\\\":\\\"Input\\\",\\\"bindData\\\":true,\\\"_uuid\\\":\\\"26994b43-8496-4863-a8e6-6c8a04f90a67\\\",\\\"labelWidth\\\":100,\\\"weakDisplay\\\":true,\\\"placeholder\\\":\\\"请输入内容\\\",\\\"id\\\":\\\"意见\\\",\\\"widthPercent\\\":true,\\\"width\\\":100,\\\"tips\\\":\\\"\\\",\\\"visibleExp\\\":\\\"\\\",\\\"fieldAttribute\\\":\\\"\\\",\\\"writeDataEntityConfig\\\":false}],\\\"width\\\":600,\\\"height\\\":600,\\\"background\\\":\\\"white\\\",\\\"screen\\\":\\\"computer\\\",\\\"tagAlign\\\":\\\"left\\\",\\\"textAlign\\\":\\\"left\\\",\\\"labelWidth\\\":100}\",\"approve_role\":{\"role_id\":\"1f8c835b072a4feebac3e2f1cd7eb542\",\"domain_id\":\"100001\",\"script\":\"\",\"other\":{\"name\":\"\",\"did\":\"\",\"nodeId\":\"\"},\"user\":[{\"name\":\"test001\",\"nodeId\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"did\":\"100051\",\"email\":null,\"mobile\":\"13333333333\"}]},\"flow\":{\"up_step\":[{\"node_id\":\"startevent\",\"edge_id\":\"Flow_2iq3op6\",\"node_name\":\"提交表单\",\"node_type\":\"start\",\"order\":1,\"celerity_flow\":false}],\"under_step\":[{\"node_id\":\"endevent\",\"edge_id\":\"Flow_0jeoi9l\",\"node_name\":\"完成审批\",\"node_type\":\"end\",\"order\":4,\"value\":\"同意\",\"outside_value\":\"\",\"select_node\":1,\"otherObj\":{},\"popoverVisible\":false,\"configPopoverVisible\":false}]},\"notify_way\":[],\"trigger\":[{\"select\":false,\"name\":\"待办通知\"},{\"select\":false,\"name\":\"超时通知\",\"time\":0},{\"select\":false,\"name\":\"相关人通知\"},{\"select\":false,\"name\":\"自定义通知\",\"userList\":[]},{\"select\":false}],\"order\":2,\"enablePreAudit\":false}}],\"edges\":[{\"id\":\"Flow_2iq3op6\",\"type\":\"bpmn:sequenceFlow\",\"sourceNodeId\":\"startevent\",\"targetNodeId\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"startPoint\":{\"x\":43.5,\"y\":79},\"endPoint\":{\"x\":202.5,\"y\":79},\"properties\":{\"sort\":1},\"pointsList\":[{\"x\":43.5,\"y\":79},{\"x\":202.5,\"y\":79}]},{\"id\":\"Flow_0jeoi9l\",\"type\":\"bpmn:sequenceFlow\",\"sourceNodeId\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"targetNodeId\":\"endevent\",\"startPoint\":{\"x\":407.5,\"y\":79},\"endPoint\":{\"x\":581.5,\"y\":78},\"properties\":{\"sort\":1},\"pointsList\":[{\"x\":407.5,\"y\":79},{\"x\":494.5,\"y\":79},{\"x\":494.5,\"y\":78},{\"x\":581.5,\"y\":78}]}]}", "template_id": "50a5a420276b40ffbae65977a7db6fb9", "create_user": "admin", "approved_user": "[{\"name\":\"系统管理员\",\"time\":1662429590508,\"nodeId\":\"startevent\",\"account\":\"admin\"}]", "approve_user": "[{\"name\":\"test001\",\"nodeId\":\"20214ce0-1f35-434c-9c05-2bb6909e5de0\",\"did\":\"100051\",\"email\":null,\"mobile\":\"13333333333\"}]", "approve_time": 1662429590508, "_index": "bpm_approve_list_2022.09.06", "_id": "FDWGEIMBrlVjNAPSc9pW" } ], "totalPages": 1, "pageSize": 0, "currentPage": 1 }, "httpCode": 200, "message": "OK" } ``` ##### 2) 查看审批明细 **通过approve_id可以查看流程明细** 执行后,可以获取最新的node_config,根据最新的**approve_node_config**可以读取到流程引擎决断的哪些路径不可走**flow**>**under_step**>**enable**和**isPass**都为true的时候,表明当前路径可以选择。如果当前路径不可选择,但是审批的时候选择后,会提示当前路径不可选择。 **请求地址:** ```html {url}/v1/hybpm/record/find ``` **请求参数:** ```json { "approve_id": "45b61ffb-69d5-44a3-9aa9-4e85ea09be4f" } ``` 返回参数: ```json { "result": [ { "_id": "tTW0C4MBrlVjNAPS-ZgG", "_index": "bpm_approve_record_2022.09.05", "record_id": "9db4d7a8-b4b1-4e4c-9b3b-5f33b6dbe667", "approve_id": "6b69383a-da7f-4696-b31f-45f52671562e", "node_id": "startevent", "node_name": "提交表单", "child_id": null, "child_type": null, "edge_id": null, "type": "start", "approve_user": "[{\"account\":\"100002\",\"name\":\"系统管理员\",\"nodeId\":\"startevent\"}]", "create_time": 1662348752918, "approve_node_config": "[{\"order\":1,\"name\":\"提交表单\",\"node_id\":\"startevent\",\"type\":\"start\",\"form_config_name\":\"内容描述\",\"form_config_id\":\"内容描述.json\",\"form_template\":\"{\\\"fields\\\":[{\\\"dragPos\\\":{\\\"x\\\":47,\\\"y\\\":26},\\\"name\\\":\\\"内容描述\\\",\\\"type\\\":\\\"Textarea\\\",\\\"bindData\\\":true,\\\"_uuid\\\":\\\"00adfd99-24f4-42f5-b957-ca41f35e5883\\\",\\\"labelWidth\\\":100,\\\"weakDisplay\\\":true,\\\"placeholder\\\":\\\"请输入内容\\\",\\\"id\\\":\\\"textarea\\\",\\\"widthPercent\\\":true,\\\"width\\\":100,\\\"tips\\\":\\\"\\\",\\\"visibleExp\\\":\\\"\\\",\\\"fieldAttribute\\\":\\\"\\\",\\\"writeDataEntityConfig\\\":false}],\\\"width\\\":600,\\\"height\\\":600,\\\"background\\\":\\\"white\\\",\\\"screen\\\":\\\"computer\\\",\\\"tagAlign\\\":\\\"left\\\",\\\"textAlign\\\":\\\"left\\\",\\\"labelWidth\\\":100}\",\"form_factor\":[],\"step_type\":1,\"report\":true,\"describe\":false,\"describeName\":\"审批描述\",\"annex\":false,\"flow\":{\"up_step\":[],\"under_step\":{}},\"jump\":{\"jump_list\":[]},\"call_back_type\":\"\",\"index\":1,\"reportName\":\"审批意见\",\"appointUser\":false,\"initiator\":{\"account\":\"100002\",\"name\":\"系统管理员\",\"nodeId\":\"startevent\"}},{\"order\":2,\"name\":\"完成审批\",\"node_id\":\"endevent\",\"api\":\"\",\"type\":\"end\",\"call_back_type\":\"\",\"flow\":{\"up_step\":[],\"under_step\":[]}}]", "form_config_id": null, "approve_content": null, "transfer_number": 1, "node_round": 0, "form_template": "{\"fields\":[{\"dragPos\":{\"x\":47,\"y\":26},\"name\":\"内容描述\",\"type\":\"Textarea\",\"bindData\":true,\"_uuid\":\"00adfd99-24f4-42f5-b957-ca41f35e5883\",\"labelWidth\":100,\"weakDisplay\":true,\"placeholder\":\"请输入内容\",\"id\":\"textarea\",\"widthPercent\":true,\"width\":100,\"tips\":\"\",\"visibleExp\":\"\",\"fieldAttribute\":\"\",\"writeDataEntityConfig\":false}],\"width\":600,\"height\":600,\"background\":\"white\",\"screen\":\"computer\",\"tagAlign\":\"left\",\"textAlign\":\"left\",\"labelWidth\":100}", "form_value": "{bt=btValue}", "submit_time": null, "create_user": null, "create_user_id": null, "report": null, "classify_id": "0", "bpm_id": "2f189b6fdffd4dec89bbadea52332120", "bpm_state": "20220801-v1", "domain_name": "[\"本域\"]", "attachment": "[https://tva1.sinaimg.cn/large/e6c9d24ely1h4ecx8wuc3j20u00zg47w.jpg]" } ], "httpCode": 200, "message": "OK" } ``` #### 2.4通过查询条件创建完成审批 ##### 1) 查询审批条件列表 **无需条件查询所有** **请求地址:** ```html {url}/v1/hybpm/cbtype ``` **请求参数:** ```json { } ``` 返回参数: ```json { "result": [ { "name": "采办类型", "id": "5e564579e710ca0315e8e856c5e2fc37" }, { "name": "表单类型", "id": "79d1ce7e3efc25cbfadb1df4aadf053f" }, { "name": "采办方式", "id": "80c66262c34564fba3ff0c00c0f2cc17" }, { "name": "qwq", "id": "89cf6227afd949881398f72784786b3c" } ], "httpCode": 200, "message": "OK" } ``` ##### 2) 查询审批条件明细 **通过条件列表id可以查看流程明细** **请求地址:** ```html {url}/v1/hybpm/cbtype/{id} ``` **请求参数:** ```json {} ``` 返回参数: ```json { "result": [ "这里是新增配置项" ], "httpCode": 200, "message": "OK" } ``` ##### 3)通过审批条件创建审批 **template_id不传 condition和cb_org不为空** **请求地址:** ```html {url}/v1/hybpm/create ``` **请求参数:** ```json { "attachment": [ "https://tva1.sinaimg.cn/large/e6c9d24ely1h4ecx8wuc3j20u00zg47w.jpg" ], "condition": { "采办类型": "caibanleixing2", "采办方式": "caibanfangshi2", "表单类型": "biaodanleixing3" }, "cb_org": "本域", "detail_url": "https://www.zhiweicoding.xyz/post/sa-token/", "notify_url": "https://www.zhiweicoding.xyz/post/sa-token/", "update_url": "https://www.zhiweicoding.xyz/post/sa-token/", "title": "20220801-v1", "form_value": { "bt": "btValue" } } ``` 返回参数: ```json { "result": { "approved_user": "[{\"name\":\"系统管理员\",\"time\":1662357615786,\"nodeId\":\"startevent\",\"account\":\"admin\"}]", "approve_index": "bpm_approve_list_2022.09.05", "approve_time": 1662357615786, "approve_id": "68cdb866-ad87-49a8-b737-c8d403b8e61f" }, "httpCode": 200, "message": "OK" } ``` ***后续的和2.2使用template_id创建审批使用方式一致。***