Commit 0784402f4f7ef574ebb1ee1dfef91d71b9caa25a
1 parent
db1fcc5b
Exists in
master
feat:增加金润对接钉钉审批接口
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
jinrun/audit/审批接口.md
| @@ -167,7 +167,7 @@ public static void main(String[] args) { | @@ -167,7 +167,7 @@ public static void main(String[] args) { | ||
| 167 | String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6"; | 167 | String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6"; |
| 168 | String appSecret = "734a18117f614e60859efb8eea27c680"; | 168 | String appSecret = "734a18117f614e60859efb8eea27c680"; |
| 169 | String aesSecret = "wJ3472SLpkZLnjtwMArhRg=="; | 169 | String aesSecret = "wJ3472SLpkZLnjtwMArhRg=="; |
| 170 | - ZYClient ZYClient = new ZYClient(appKey, appSecret); | 170 | + ZYClient zyClient = new ZYClient(appKey, appSecret); |
| 171 | String data = "{\n" + | 171 | String data = "{\n" + |
| 172 | " \"code\": \"JR202510200000003\",\n" + | 172 | " \"code\": \"JR202510200000003\",\n" + |
| 173 | " \"auditType\": \"JINRUN_VEHICLE_FEE_AUDIT\",\n" + | 173 | " \"auditType\": \"JINRUN_VEHICLE_FEE_AUDIT\",\n" + |
| @@ -196,7 +196,7 @@ public static void main(String[] args) { | @@ -196,7 +196,7 @@ public static void main(String[] args) { | ||
| 196 | " }\n" + | 196 | " }\n" + |
| 197 | " ]\n" + | 197 | " ]\n" + |
| 198 | "}"; | 198 | "}"; |
| 199 | - HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/send", AesUtils.encrypt(data, aesSecret)); | 199 | + HttpResponseData httpResponseData = zyClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/send", AesUtils.encrypt(data, aesSecret)); |
| 200 | } | 200 | } |
| 201 | ``` | 201 | ``` |
| 202 | 202 | ||
| @@ -289,7 +289,7 @@ public static void main(String[] args) { | @@ -289,7 +289,7 @@ public static void main(String[] args) { | ||
| 289 | String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6"; | 289 | String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6"; |
| 290 | String appSecret = "734a18117f614e60859efb8eea27c680"; | 290 | String appSecret = "734a18117f614e60859efb8eea27c680"; |
| 291 | String aesSecret = "wJ3472SLpkZLnjtwMArhRg=="; | 291 | String aesSecret = "wJ3472SLpkZLnjtwMArhRg=="; |
| 292 | - ZYClient ZYClient = new ZYClient(appKey, appSecret); | 292 | + ZYClient zyClient = new ZYClient(appKey, appSecret); |
| 293 | String data = "{\n" + | 293 | String data = "{\n" + |
| 294 | " \"code\": \"JR202510200000002\",\n" + | 294 | " \"code\": \"JR202510200000002\",\n" + |
| 295 | " \"auditId\": \"LgXYezIUQYC1WxnzMpZatA03781760922998\",\n" + | 295 | " \"auditId\": \"LgXYezIUQYC1WxnzMpZatA03781760922998\",\n" + |
| @@ -297,7 +297,7 @@ public static void main(String[] args) { | @@ -297,7 +297,7 @@ public static void main(String[] args) { | ||
| 297 | " \"remark\": \"付款金额错误, 撤销重新提交\",\n" + | 297 | " \"remark\": \"付款金额错误, 撤销重新提交\",\n" + |
| 298 | " \"username\": \"001073\"\n" + | 298 | " \"username\": \"001073\"\n" + |
| 299 | "}"; | 299 | "}"; |
| 300 | - HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/cancel", AesUtils.encrypt(data, aesSecret)); | 300 | + HttpResponseData httpResponseData = zyClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/cancel", AesUtils.encrypt(data, aesSecret)); |
| 301 | } | 301 | } |
| 302 | ``` | 302 | ``` |
| 303 | 303 |