去掉默认的回调地址

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.setOutRefundNo(orderSn);
//退款金额 //退款金额
wxPayRefundRequest.setRefundFee(refundFee); wxPayRefundRequest.setRefundFee(refundFee);
// wxPayRefundRequest.setNotifyUrl(this.getApiUrl() + "/api/notify/refund"); wxPayRefundRequest.setNotifyUrl(this.getApiUrl() + "/api/notify/refund");
wxPayRefundRequest.setNotifyUrl("http://www.itxzz.top/api/wechat/notify");
try { try {
wxPayService.refundV2(wxPayRefundRequest); wxPayService.refundV2(wxPayRefundRequest);
} catch (WxPayException e) { } catch (WxPayException e) {