From f44e4d609e7efaed9eac545137970b1e334f8106 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期六, 21 九月 2024 09:01:36 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java
index 4ca130b..b926f37 100644
--- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java
+++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java
@@ -42,7 +42,9 @@
 	//HTTPS证书的本地路径
 	private static String certLocalPath;
 	static{//从服务器相对路径中获取
-		certLocalPath = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert/apiclient_cert.p12";
+		// certLocalPath = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert/apiclient_cert.p12";
+		certLocalPath = Configure.class.getClassLoader().getResource("").getPath()
+				+ "cert/apiclient_cert.p12";
 	}
 	
 	//HTTPS证书密码,默认密码等于商户号MCHID
@@ -51,7 +53,10 @@
 	//HTTPS证书的本地路径
 	private static String certLocalPath_2;
 	static{//从服务器相对路径中获取
-		certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert_2/apiclient_cert.p12";
+		// certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert_2/apiclient_cert.p12";
+		// certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath()
+		// 		+ "cert_2/apiclient_cert.p12";
+		certLocalPath_2 = "/opt/lzlj/cert/wechat/apiclient_cert.p12";
 	}	
 	
 	//HTTPS证书密码,默认密码等于商户号MCHID

--
Gitblit v1.7.1