mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 07:23:01 +08:00
🐛 #1856 【微信支付】修复电商收付通查询退款状态的接口地址
This commit is contained in:
parent
b693c5fb4e
commit
9850151dfa
@ -226,7 +226,7 @@ public class EcommerceServiceImpl implements EcommerceService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RefundQueryResult queryRefundByOutRefundNo(String subMchid, String outRefundNo) throws WxPayException {
|
public RefundQueryResult queryRefundByOutRefundNo(String subMchid, String outRefundNo) throws WxPayException {
|
||||||
String url = String.format("%s/v3/ecommerce/applyments/out-request-no/%s?sub_mchid=%s", this.payService.getPayBaseUrl(), outRefundNo, subMchid);
|
String url = String.format("%s/v3/ecommerce/refunds/out-refund-no/%s?sub_mchid=%s", this.payService.getPayBaseUrl(), outRefundNo, subMchid);
|
||||||
String response = this.payService.getV3(URI.create(url));
|
String response = this.payService.getV3(URI.create(url));
|
||||||
return GSON.fromJson(response, RefundQueryResult.class);
|
return GSON.fromJson(response, RefundQueryResult.class);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user