From a2b3d13571803c72978a3d2f273931e54804594f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 9 Sep 2025 16:40:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(system):=20=E4=BF=AE=E5=A4=8D=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了不必要的 "file" 目录拼接 - 优化了私钥和证书路径的生成逻辑 --- .../common/system/service/impl/SettingServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gxwebsoft/common/system/service/impl/SettingServiceImpl.java b/src/main/java/com/gxwebsoft/common/system/service/impl/SettingServiceImpl.java index 2a7895c..d50dfaf 100644 --- a/src/main/java/com/gxwebsoft/common/system/service/impl/SettingServiceImpl.java +++ b/src/main/java/com/gxwebsoft/common/system/service/impl/SettingServiceImpl.java @@ -179,8 +179,8 @@ public class SettingServiceImpl extends ServiceImpl impl final JSONObject jsonObject = JSONObject.parseObject(data.getContent()); final String mchId = jsonObject.getString("mchId"); final String apiclientKey = jsonObject.getString("apiclientKey"); - final String privateKey = pathConfig.getUploadPath().concat("file").concat(apiclientKey); - final String apiclientCert = pathConfig.getUploadPath().concat("file").concat(jsonObject.getString("apiclientCert")); + final String privateKey = pathConfig.getUploadPath().concat(apiclientKey); + final String apiclientCert = pathConfig.getUploadPath().concat(jsonObject.getString("apiclientCert")); final String merchantSerialNumber = jsonObject.getString("merchantSerialNumber"); final String apiV3key = jsonObject.getString("wechatApiKey"); if(config == null){