diff --git a/pom.xml b/pom.xml index 5a0e6853..5aeb6c7c 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ org.springframework.boot spring-boot-starter-parent - 2.4.6 + 2.4.8 diff --git a/yshop-weixin/src/main/java/co/yixiang/modules/mp/service/WeixinPayService.java b/yshop-weixin/src/main/java/co/yixiang/modules/mp/service/WeixinPayService.java index eccc72ca..bcd5ecca 100644 --- a/yshop-weixin/src/main/java/co/yixiang/modules/mp/service/WeixinPayService.java +++ b/yshop-weixin/src/main/java/co/yixiang/modules/mp/service/WeixinPayService.java @@ -125,8 +125,7 @@ public class WeixinPayService { orderRequest.setOutTradeNo(orderId); orderRequest.setTotalFee(payPrice); orderRequest.setSpbillCreateIp(IpUtil.getLocalIP()); -// orderRequest.setNotifyUrl(this.getApiUrl() + "/api/wechat/notify"); - orderRequest.setNotifyUrl("http://www.itxzz.top/api/wechat/notify"); + orderRequest.setNotifyUrl(this.getApiUrl() + "/api/wechat/notify"); orderRequest.setBody(body); orderRequest.setAttach(attach);