售后流程

This commit is contained in:
chenjiajun
2021-07-05 09:30:20 +08:00
parent 616bb17291
commit eb42849b3e
40 changed files with 2859 additions and 849 deletions

View File

@ -125,7 +125,8 @@ public class WeixinPayService {
orderRequest.setOutTradeNo(orderId);
orderRequest.setTotalFee(payPrice);
orderRequest.setSpbillCreateIp(IpUtil.getLocalIP());
orderRequest.setNotifyUrl(this.getApiUrl() + "/api/wechat/notify");
// orderRequest.setNotifyUrl(this.getApiUrl() + "/api/wechat/notify");
orderRequest.setNotifyUrl("http://www.itxzz.top/api/wechat/notify");
orderRequest.setBody(body);
orderRequest.setAttach(attach);
@ -183,8 +184,8 @@ public class WeixinPayService {
wxPayRefundRequest.setOutRefundNo(orderSn);
//退款金额
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 {
wxPayService.refundV2(wxPayRefundRequest);
} catch (WxPayException e) {