🐛 #1856 【微信支付】修复电商收付通查询退款状态的接口地址
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user