Skip to content

Commit 9850151

Browse files
authored
🐛 #1856 【微信支付】修复电商收付通查询退款状态的接口地址
1 parent b693c5f commit 9850151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/EcommerceServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public RefundQueryResult queryRefundByRefundId(String subMchid, String refundId)
226226

227227
@Override
228228
public RefundQueryResult queryRefundByOutRefundNo(String subMchid, String outRefundNo) throws WxPayException {
229-
String url = String.format("%s/v3/ecommerce/applyments/out-request-no/%s?sub_mchid=%s", this.payService.getPayBaseUrl(), outRefundNo, subMchid);
229+
String url = String.format("%s/v3/ecommerce/refunds/out-refund-no/%s?sub_mchid=%s", this.payService.getPayBaseUrl(), outRefundNo, subMchid);
230230
String response = this.payService.getV3(URI.create(url));
231231
return GSON.fromJson(response, RefundQueryResult.class);
232232
}

0 commit comments

Comments
 (0)