From 82f1f5d0cf1b51a5d81915e842e01760f404fa74 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期三, 20 十月 2021 13:07:16 +0800
Subject: [PATCH] update 优化xxl-job-admin相关pr代码 增加格式化日志输出与docker镜像

---
 ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java |  174 +++++++++-------------------------------------------------
 1 files changed, 27 insertions(+), 147 deletions(-)

diff --git a/ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java b/ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java
index 0bf134f..9d3f15a 100644
--- a/ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java
+++ b/ruoyi-oss/src/main/java/com/ruoyi/oss/properties/CloudStorageProperties.java
@@ -1,175 +1,55 @@
 package com.ruoyi.oss.properties;
 
 import lombok.Data;
-import lombok.NoArgsConstructor;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
+
+import java.util.Date;
 
 /**
- * OSS浜戝瓨鍌� 閰嶇疆灞炴��
+ * OSS瀵硅薄瀛樺偍 閰嶇疆灞炴��
  *
  * @author Lion Li
  */
 @Data
-@Component
-@ConfigurationProperties(prefix = "cloud-storage")
 public class CloudStorageProperties {
 
-	private QiniuProperties qiniu;
-
-	private AliyunProperties aliyun;
-
-	private QcloudProperties qcloud;
-
-	private MinioProperties minio;
+	/**
+	 * 鍩熷悕
+	 */
+	private String endpoint;
 
 	/**
-	 * 闃块噷浜� 閰嶇疆灞炴��
-	 *
-	 * @author Lion Li
+	 * 鍓嶇紑
 	 */
-	@Data
-	@NoArgsConstructor
-	public static class AliyunProperties {
-
-		/**
-		 * 闃块噷浜戠粦瀹氱殑鍩熷悕
-		 */
-		private String endpoint;
-
-		/**
-		 * 闃块噷浜戣矾寰勫墠缂�
-		 */
-		private String prefix;
-
-		/**
-		 * 闃块噷浜慉ccessKeyId
-		 */
-		private String accessKeyId;
-
-		/**
-		 * 闃块噷浜慉ccessKeySecret
-		 */
-		private String accessKeySecret;
-
-		/**
-		 * 闃块噷浜態ucketName
-		 */
-		private String bucketName;
-
-	}
+	private String prefix;
 
 	/**
-	 * Minio 閰嶇疆灞炴��
-	 *
-	 * @author Lion Li
+	 * ACCESS_KEY
 	 */
-	@Data
-	@NoArgsConstructor
-	public static class MinioProperties {
-
-		/**
-		 * 涓冪墰缁戝畾鐨勫煙鍚�
-		 */
-		private String endpoint;
-
-		/**
-		 * 涓冪墰璺緞鍓嶇紑
-		 */
-		private String prefix;
-
-		/**
-		 * 涓冪墰ACCESS_KEY
-		 */
-		private String accessKey;
-
-		/**
-		 * 涓冪墰SECRET_KEY
-		 */
-		private String secretKey;
-
-		/**
-		 * 涓冪墰瀛樺偍绌洪棿鍚�
-		 */
-		private String bucketName;
-
-	}
+	private String accessKey;
 
 	/**
-	 * 鑵捐浜慍OS 閰嶇疆灞炴��
-	 *
-	 * @author Lion Li
+	 * SECRET_KEY
 	 */
-	@Data
-	@NoArgsConstructor
-	public static class QcloudProperties {
-
-		/**
-		 * 鑵捐浜戠粦瀹氱殑鍩熷悕
-		 */
-		private String domain;
-
-		/**
-		 * 鑵捐浜戣矾寰勫墠缂�
-		 */
-		private String prefix;
-
-		/**
-		 * 鑵捐浜慡ecretId
-		 */
-		private String secretId;
-
-		/**
-		 * 鑵捐浜慡ecretKey
-		 */
-		private String secretKey;
-
-		/**
-		 * 鑵捐浜態ucketName
-		 */
-		private String bucketName;
-
-		/**
-		 * 鑵捐浜慍OS鎵�灞炲湴鍖�
-		 */
-		private String region;
-
-	}
+	private String secretKey;
 
 	/**
-	 * 涓冪墰浜� 閰嶇疆灞炴��
-	 *
-	 * @author Lion Li
+	 * 瀛樺偍绌洪棿鍚�
 	 */
-	@Data
-	@NoArgsConstructor
-	public class QiniuProperties {
+	private String bucketName;
 
-		/**
-		 * 涓冪墰缁戝畾鐨勫煙鍚�
-		 */
-		private String domain;
+	/**
+	 * 瀛樺偍鍖哄煙
+	 */
+	private String region;
 
-		/**
-		 * 涓冪墰璺緞鍓嶇紑
-		 */
-		private String prefix;
+	/**
+	 * 鏄惁https锛圷=鏄�,N=鍚︼級
+	 */
+	private String isHttps;
 
-		/**
-		 * 涓冪墰ACCESS_KEY
-		 */
-		private String accessKey;
-
-		/**
-		 * 涓冪墰SECRET_KEY
-		 */
-		private String secretKey;
-
-		/**
-		 * 涓冪墰瀛樺偍绌洪棿鍚�
-		 */
-		private String bucketName;
-
-	}
+	/**
+	 * 鏇存柊鏃堕棿
+	 */
+	private Date updateTime;
 
 }

--
Gitblit v1.9.3