From 2fde2e99c38e8c46f7f7988fce076cc7d16445e4 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 21 八月 2025 00:23:45 +0800
Subject: [PATCH] 修改bug

---
 ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/qianyuntong/QianYunTongConfig.java |  108 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 101 insertions(+), 7 deletions(-)

diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/qianyuntong/QianYunTongConfig.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/qianyuntong/QianYunTongConfig.java
index 4958b9e..c4f9b76 100644
--- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/qianyuntong/QianYunTongConfig.java
+++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/qianyuntong/QianYunTongConfig.java
@@ -8,7 +8,6 @@
  * @author zhibing.pu
  * @Date 2025/7/8 11:31
  */
-@Data
 @Component
 public class QianYunTongConfig {
 	
@@ -62,8 +61,103 @@
 	 * 向UAAS服务请求到的secret_key
 	 */
 	private String secretKey;
-	
-	
+
+	public String getActiveProfile() {
+		return activeProfile;
+	}
+
+	public void setActiveProfile(String activeProfile) {
+		this.activeProfile = activeProfile;
+	}
+
+	public String getAppkey() {
+		return appkey;
+	}
+
+	public void setAppkey(String appkey) {
+		this.appkey = appkey;
+	}
+
+	public String getPrivateKeyPath() {
+		return privateKeyPath;
+	}
+
+	public void setPrivateKeyPath(String privateKeyPath) {
+		this.privateKeyPath = privateKeyPath;
+	}
+
+	public String getUserName() {
+		return userName;
+	}
+
+	public void setUserName(String userName) {
+		this.userName = userName;
+	}
+
+	public String getStatus() {
+		return status;
+	}
+
+	public void setStatus(String status) {
+		this.status = status;
+	}
+
+	public String getApiUrl() {
+		return apiUrl;
+	}
+
+	public void setApiUrl(String apiUrl) {
+		this.apiUrl = apiUrl;
+	}
+
+	public String getBucketName() {
+		return bucketName;
+	}
+
+	public void setBucketName(String bucketName) {
+		this.bucketName = bucketName;
+	}
+
+	public String getAppId() {
+		return appId;
+	}
+
+	public void setAppId(String appId) {
+		this.appId = appId;
+	}
+
+	public String getEndPoint() {
+		return endPoint;
+	}
+
+	public void setEndPoint(String endPoint) {
+		this.endPoint = endPoint;
+	}
+
+	public String getAccount() {
+		return account;
+	}
+
+	public void setAccount(String account) {
+		this.account = account;
+	}
+
+	public String getAccessKey() {
+		return accessKey;
+	}
+
+	public void setAccessKey(String accessKey) {
+		this.accessKey = accessKey;
+	}
+
+	public String getSecretKey() {
+		return secretKey;
+	}
+
+	public void setSecretKey(String secretKey) {
+		this.secretKey = secretKey;
+	}
+
 	public QianYunTongConfig getQianYunTongConfig() {
 		if("dev".equals(activeProfile)){
 			this.appkey = "10001104";
@@ -80,26 +174,26 @@
 		}
 		if("test".equals(activeProfile)){
 			this.setAppkey("10001104");
-			this.setPrivateKeyPath("/root/server/app/key/private_key_test.pem");
+			this.setPrivateKeyPath("/etraffic/server/private_key_test.pem");
 			this.setUserName("xiaofei");
 			this.setStatus("1");
 			this.setApiUrl("https://test-zhongtai.stqcloud.com:10070");
 			this.setBucketName("bucuTest0625");
 			this.setAppId("wxcc3c9058e2b294db");
-			this.setEndPoint("http://119.4.112.68:27741/v1");
+			this.setEndPoint("http://10.30.52.45:27741/v1");
 			this.setAccount("d8bef0a04db511f0b79d01a3e2b7587e");
 			this.setAccessKey("TYMFTFD5SIIT15DCCUD7");
 			this.setSecretKey("AoI1dkH3yoAvXoaQlREO3ed9mwQJFluLTliS9T1z");
 		}
 		if("prod".equals(activeProfile)){
 			this.setAppkey("10001104");
-			this.setPrivateKeyPath("/root/server/app/key/private_key.pem");
+			this.setPrivateKeyPath("/etraffic/server/private_key.pem");
 			this.setUserName("xiwang");
 			this.setStatus("1");
 			this.setApiUrl("http://jjzhongtai.stqcloud.com:10010");
 			this.setBucketName("qyt20250702");
 			this.setAppId("wxcc3c9058e2b294db");
-			this.setEndPoint("http://119.4.112.68:27741/v1");
+			this.setEndPoint("http://10.30.52.45:27741/v1");
 			this.setAccount("d8bef0a04db511f0b79d01a3e2b7587e");
 			this.setAccessKey("TYMFTFD5SIIT15DCCUD7");
 			this.setSecretKey("AoI1dkH3yoAvXoaQlREO3ed9mwQJFluLTliS9T1z");

--
Gitblit v1.7.1