去掉默认的回调地址

This commit is contained in:
taozi
2021-07-29 00:34:56 +08:00
parent ccfb37cd4e
commit 3e6c6d2765

View File

@ -183,8 +183,7 @@ public class WeixinPayService {
wxPayRefundRequest.setOutRefundNo(orderSn);
//退款金额
wxPayRefundRequest.setRefundFee(refundFee);
// wxPayRefundRequest.setNotifyUrl(this.getApiUrl() + "/api/notify/refund");
wxPayRefundRequest.setNotifyUrl("http://www.itxzz.top/api/wechat/notify");
wxPayRefundRequest.setNotifyUrl(this.getApiUrl() + "/api/notify/refund");
try {
wxPayService.refundV2(wxPayRefundRequest);
} catch (WxPayException e) {