wangyingyang

update refund securitykey

...@@ -17,4 +17,5 @@ public class BusinessConfig { ...@@ -17,4 +17,5 @@ public class BusinessConfig {
17 private String payUrl; 17 private String payUrl;
18 private String payClientId; 18 private String payClientId;
19 private String cancelPayUrl; 19 private String cancelPayUrl;
20 + private String refundSecurityKey;
20 } 21 }
......
...@@ -377,7 +377,7 @@ public class PayServiceClient { ...@@ -377,7 +377,7 @@ public class PayServiceClient {
377 Base64.encodeBase64String(payContentStr.getBytes()), StandardCharsets.UTF_8); 377 Base64.encodeBase64String(payContentStr.getBytes()), StandardCharsets.UTF_8);
378 378
379 // 构建signinfo 379 // 构建signinfo
380 - String signInfoStr = appId + orderById.getId() + payTime + businessConfig.getPayClientId(); 380 + String signInfoStr = appId + orderById.getId() + payTime + businessConfig.getRefundSecurityKey();
381 String signInfo = DigestUtils.sha1Hex(signInfoStr.getBytes()); 381 String signInfo = DigestUtils.sha1Hex(signInfoStr.getBytes());
382 382
383 // 构建请求 383 // 构建请求
......
...@@ -81,6 +81,7 @@ business-config.clientCustomerQueryUrl = https://nutri.amcare.com.cn/v3/clientcu ...@@ -81,6 +81,7 @@ business-config.clientCustomerQueryUrl = https://nutri.amcare.com.cn/v3/clientcu
81 business-config.payUrl = http://10.2.5.162:21051/API/Microapp/CreateOrder?appid={0} 81 business-config.payUrl = http://10.2.5.162:21051/API/Microapp/CreateOrder?appid={0}
82 business-config.payClientId = Order 82 business-config.payClientId = Order
83 business-config.cancelPayUrl = http://10.2.5.162:21051/frame/requestbase64 83 business-config.cancelPayUrl = http://10.2.5.162:21051/frame/requestbase64
84 +business-config.refundSecurityKey = 0987654321
84 85
85 ##Actuator\u914D\u7F6E 86 ##Actuator\u914D\u7F6E
86 management.server.port=8088 87 management.server.port=8088
......