Commit de4098a8b26741dde264727c1afa467017f6d8a6

Authored by 王富国
1 parent bb37431e
Exists in master

feat:增加金润对接钉钉审批接口

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
jinrun/audit/审批接口.md
... ... @@ -161,7 +161,6 @@ public static String aesEncrypt(String source, String secret) {
161 161 public static void main(String[] args) {
162 162 String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6";
163 163 String appSecret = "734a18117f614e60859efb8eea27c680";
164   - String aesSecret = "734a18117f614e60859efb8eea27c680";
165 164 ZYClient ZYClient = new ZYClient(appKey, appSecret);
166 165 String data = "{\n" +
167 166 " \"code\": \"JR202510200000003\",\n" +
... ... @@ -191,7 +190,7 @@ public static void main(String[] args) {
191 190 " }\n" +
192 191 " ]\n" +
193 192 "}";
194   - HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/send", AesUtils.aesEncrypt(data, aesSecret));
  193 + HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/send", AesUtils.aesEncrypt(data, appSecret));
195 194 }
196 195 ```
197 196  
... ... @@ -283,7 +282,6 @@ public static void main(String[] args) {
283 282 public static void main(String[] args) {
284 283 String appKey = "bd95591ce63f4a78a54658c2d8ad5ff6";
285 284 String appSecret = "734a18117f614e60859efb8eea27c680";
286   - String aesSecret = "734a18117f614e60859efb8eea27c680";
287 285 ZYClient ZYClient = new ZYClient(appKey, appSecret);
288 286 String data = "{\n" +
289 287 " \"code\": \"JR202510200000002\",\n" +
... ... @@ -292,7 +290,7 @@ public static void main(String[] args) {
292 290 " \"remark\": \"付款金额错误, 撤销重新提交\",\n" +
293 291 " \"username\": \"001073\"\n" +
294 292 "}";
295   - HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/cancel", AesUtils.aesEncrypt(data, aesSecret));
  293 + HttpResponseData httpResponseData = ZYClient.doPost(Constants.TEST_HOST + "/tms-service-api/audit/cancel", AesUtils.aesEncrypt(data, appSecret));
296 294 }
297 295 ```
298 296  
... ...