liujie
2025-07-24 a8895e0ce4d03c9a50ad0196bb4ddc6dd642cd34
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 {
   
@@ -63,11 +62,106 @@
    */
   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";
         this.privateKeyPath = "C:\\Users\\39373\\Desktop\\黔云通\\private_key_test.pem";
         this.privateKeyPath = "C:\\Users\\Admin\\Desktop\\private_key_test.pem";
         this.userName = "xiaofei";
         this.status = "1";
         this.setApiUrl("https://test-zhongtai.stqcloud.com:10070");