升级springboot版本为2.4.8,微信支付通知地址修改

This commit is contained in:
taozi
2021-07-05 15:01:13 +08:00
parent fb4990b3fe
commit 4a16a4273c
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.8</version>
</parent>
<properties>

View File

@ -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);