From 4a16a4273cd39c00b5cd3384cca9b82ee57d8acb Mon Sep 17 00:00:00 2001 From: taozi <9108791@qq.com> Date: Mon, 5 Jul 2021 15:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7springboot=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=B8=BA2.4.8=EF=BC=8C=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=9C=B0=E5=9D=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../java/co/yixiang/modules/mp/service/WeixinPayService.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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);