From af23df2ea52b0303763e16c121cf5ed9dbd4e8cc Mon Sep 17 00:00:00 2001 From: sheng Date: Wed, 5 Jan 2022 14:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1=E5=92=8C?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/services/pay/wechat/WechatPayService.java | 2 +- .../club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/rtss/services/pay/wechat/WechatPayService.java b/src/main/java/club/joylink/rtss/services/pay/wechat/WechatPayService.java index 75494b9c9..7b71d5a11 100644 --- a/src/main/java/club/joylink/rtss/services/pay/wechat/WechatPayService.java +++ b/src/main/java/club/joylink/rtss/services/pay/wechat/WechatPayService.java @@ -104,7 +104,7 @@ public class WechatPayService { //构建并发送请求 HttpPost httpPost = new HttpPost("https://api.mch.weixin.qq.com/v3/pay/transactions/native"); httpPost.setHeader("Accept", "application/json"); - WxUnifiedOrder wxUnifiedOrder = new WxUnifiedOrder(orderPay, "https://api.joylink.club/jlcloud/api/wechatPay/receive"); + WxUnifiedOrder wxUnifiedOrder = new WxUnifiedOrder(orderPay, "https://joylink.club/jlcloud/api/wechatPay/receive"); String json = JsonUtils.writeValueAsString(wxUnifiedOrder); StringEntity entity = new StringEntity(json, ContentType.APPLICATION_JSON); entity.setContentType("application/json"); diff --git a/src/main/java/club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java b/src/main/java/club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java index c1b495fe3..ce5457335 100644 --- a/src/main/java/club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java +++ b/src/main/java/club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java @@ -61,7 +61,7 @@ public class MiniProgramAccessTokenManager { // } // } - public static final String URL_GET_ACCESS_TOKEN = "https://api.joylink.club/wechatservice/api/accessToken?clientid=%s&secret=%s&checksum=%s&appid=%s"; + public static final String URL_GET_ACCESS_TOKEN = "https://joylink.club/wechatservice/api/accessToken?clientid=%s&secret=%s&checksum=%s&appid=%s"; public static final String clientId = "rtss"; public static final String secret = "joylink-0503";