Commit cc0906b686840307c73bd4ddf777c1a198e62376
1 parent
eb0210d3
Exists in
master
feat:增加金润对接钉钉审批接口
Showing
1 changed file
with
45 additions
and
0 deletions
Show diff stats
jinrun/audit/审批接口.md
| ... | ... | @@ -88,6 +88,39 @@ appKey(则一提供) + appSecret(则一提供) + timestamp(当前时间戳毫秒 |
| 88 | 88 | | code | 是 | string | 审批单号 | |
| 89 | 89 | | auditId | 是 | string | 审批ID | |
| 90 | 90 | |
| 91 | +#### 请求示例 | |
| 92 | + | |
| 93 | +```json | |
| 94 | +{ | |
| 95 | + "code": "JR202510110000001", | |
| 96 | + "auditType": "BILL_APPLY_PAY_AUDIT", | |
| 97 | + "username": "001001", | |
| 98 | + "auditFormList": [ | |
| 99 | + { | |
| 100 | + "type": "text", | |
| 101 | + "name": "feeType", | |
| 102 | + "value": "车辆保险费用" | |
| 103 | + }, | |
| 104 | + { | |
| 105 | + "type": "text", | |
| 106 | + "name": "feeAmount", | |
| 107 | + "value": "200000" | |
| 108 | + }, | |
| 109 | + { | |
| 110 | + "type": "file", | |
| 111 | + "name": "attachment", | |
| 112 | + "value": "https://example.com/path/1.jpg" | |
| 113 | + } | |
| 114 | + ], | |
| 115 | + "conditionParamList": [ | |
| 116 | + { | |
| 117 | + "name": "businessType", | |
| 118 | + "value": "BULK_BUSINESS_TYPE" | |
| 119 | + } | |
| 120 | + ] | |
| 121 | +} | |
| 122 | +``` | |
| 123 | + | |
| 91 | 124 | #### 返回示例 |
| 92 | 125 | |
| 93 | 126 | ```json |
| ... | ... | @@ -155,6 +188,18 @@ appKey(则一提供) + appSecret(则一提供) + timestamp(当前时间戳毫秒 |
| 155 | 188 | | code | 是 | string | 审批单号 | |
| 156 | 189 | | auditId | 是 | string | 审批ID | |
| 157 | 190 | |
| 191 | +#### 请求示例 | |
| 192 | + | |
| 193 | +```json | |
| 194 | +{ | |
| 195 | + "code": "JR202510110000001", | |
| 196 | + "auditId": "2369f6c4c15440cdada803047d664546", | |
| 197 | + "auditType": "BILL_APPLY_PAY_AUDIT", | |
| 198 | + "remark": "付款金额错误, 撤销重新提交", | |
| 199 | + "username": "001001" | |
| 200 | +} | |
| 201 | +``` | |
| 202 | + | |
| 158 | 203 | #### 返回示例 |
| 159 | 204 | |
| 160 | 205 | ```json | ... | ... |