[fix]修改提现逻辑
This commit is contained in:
parent
6129490adf
commit
28ea7a5c3b
@ -58,7 +58,7 @@ public class WxPayService {
|
|||||||
request.setUserName(encryptName);
|
request.setUserName(encryptName);
|
||||||
}
|
}
|
||||||
|
|
||||||
String requestPath = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills";
|
String requestPath = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/transfer";
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
headers.addHeader("Accept", MediaType.APPLICATION_JSON.getValue());
|
headers.addHeader("Accept", MediaType.APPLICATION_JSON.getValue());
|
||||||
headers.addHeader("Content-Type", MediaType.APPLICATION_JSON.getValue());
|
headers.addHeader("Content-Type", MediaType.APPLICATION_JSON.getValue());
|
||||||
@ -84,12 +84,6 @@ public class WxPayService {
|
|||||||
*/
|
*/
|
||||||
public TransferDetailEntityNew getTransferDetailByOutNoNew(String outBillNo) {
|
public TransferDetailEntityNew getTransferDetailByOutNoNew(String outBillNo) {
|
||||||
logger.info("WxPayService.getTransferDetailByOutNoNew request:{}", outBillNo);
|
logger.info("WxPayService.getTransferDetailByOutNoNew request:{}", outBillNo);
|
||||||
Config config = new RSAAutoCertificateConfig.Builder()
|
|
||||||
.merchantId(WechatPayConfig.getMchId())
|
|
||||||
.privateKeyFromPath(WechatPayConfig.getPrivateKeyPath())
|
|
||||||
.merchantSerialNumber(WechatPayConfig.getMchSerialNo())
|
|
||||||
.apiV3Key(WechatPayConfig.getApiV3Key())
|
|
||||||
.build();
|
|
||||||
String requestPath = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}";
|
String requestPath = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}";
|
||||||
requestPath = requestPath.replace("{out_bill_no}", UrlEncoder.urlEncode(outBillNo));
|
requestPath = requestPath.replace("{out_bill_no}", UrlEncoder.urlEncode(outBillNo));
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user