疯狂的狮子li
2021-07-28 eb2be90e74adfa06ee251f80c08243d0301ce467
ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java
@@ -15,6 +15,8 @@
@ConfigurationProperties(prefix = "cloud-storage")
public class CloudStorageProperties {
   private Boolean previewListImage;
   private QiniuProperties qiniu;
   private AliyunProperties aliyun;
@@ -69,27 +71,22 @@
   public static class MinioProperties {
      /**
       * 七牛绑定的域名
       * minio域名
       */
      private String endpoint;
      /**
       * 七牛路径前缀
       */
      private String prefix;
      /**
       * 七牛ACCESS_KEY
       * minio ACCESS_KEY
       */
      private String accessKey;
      /**
       * 七牛SECRET_KEY
       * minio SECRET_KEY
       */
      private String secretKey;
      /**
       * 七牛存储空间名
       * minio 存储空间名
       */
      private String bucketName;
@@ -107,7 +104,7 @@
      /**
       * 腾讯云绑定的域名
       */
      private String domain;
      private String endpoint;
      /**
       * 腾讯云路径前缀
@@ -130,6 +127,11 @@
      private String bucketName;
      /**
       * 七牛是否使用https
       */
      private Boolean isHttps;
      /**
       * 腾讯云COS所属地区
       */
      private String region;
@@ -143,7 +145,7 @@
    */
   @Data
   @NoArgsConstructor
   public class QiniuProperties {
   public static class QiniuProperties {
      /**
       * 七牛绑定的域名
@@ -170,6 +172,16 @@
       */
      private String bucketName;
      /**
       * 七牛存储区域
       */
      private String region;
      /**
       * 七牛是否使用https
       */
      private Boolean isHttps;
   }
}