From 49b3019223bcb521dd782bb930a8b0b69276a363 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 10 二月 2025 14:56:58 +0800
Subject: [PATCH] 管理后台:会员管理-增加会员分类
---
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 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 a1c12dd..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/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,11 +53,14 @@
//HTTPS证书的本地路径
private static String certLocalPath_2;
static{//从服务器相对路径中获取
- certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath() + "com/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
- private static String certPassword_2 = GmchID;
+ private static String certPassword_2 = mchID;
//是否使用异步线程的方式来上报API测速,默认为异步模式
private static boolean useThreadToDoReport = true;
@@ -99,9 +104,9 @@
Configure.useThreadToDoReport = useThreadToDoReport;
}
- public static String HttpsRequestClassName = "com.tencent.common.HttpsRequest";
+ public static String HttpsRequestClassName = "com.ruoyi.order.util.tencent.common.HttpsRequest";
- public static String HttpsRequestClassName_2 = "com.tencent.common.HttpsRequest_2";
+ public static String HttpsRequestClassName_2 = "com.ruoyi.order.util.tencent.common.HttpsRequest_2";
public static void setKey(String key) {
Configure.key = key;
--
Gitblit v1.7.1