From 7dc33c9247dfd585195016513ced1a3e98e96df2 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 27 六月 2022 11:03:27 +0800 Subject: [PATCH] update springboot 2.6.8 => 2.6.9 update easyexcel 3.1.0 => 3.1.1 update hutool 5.8.2 => 5.8.3 update redisson 3.17.2 => 3.17.4 update aws-java-sdk-s3 1.12.215 => 1.12.248 update tencentcloud-sdk-java 3.1.500 => 3.1.537 --- ruoyi-oss/src/main/java/com/ruoyi/oss/constant/OssConstant.java | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ruoyi-oss/src/main/java/com/ruoyi/oss/constant/OssConstant.java b/ruoyi-oss/src/main/java/com/ruoyi/oss/constant/OssConstant.java index fe966aa..1d1a777 100644 --- a/ruoyi-oss/src/main/java/com/ruoyi/oss/constant/OssConstant.java +++ b/ruoyi-oss/src/main/java/com/ruoyi/oss/constant/OssConstant.java @@ -8,31 +8,41 @@ * * @author Lion Li */ -public class OssConstant { +public interface OssConstant { /** * OSS妯″潡KEY */ - public static final String SYS_OSS_KEY = "sys_oss:"; + String SYS_OSS_KEY = "sys_oss:"; /** * 瀵硅薄瀛樺偍閰嶇疆KEY */ - public static final String OSS_CONFIG_KEY = "OssConfig"; + String OSS_CONFIG_KEY = "OssConfig"; /** * 缂撳瓨閰嶇疆KEY */ - public static final String CACHE_CONFIG_KEY = SYS_OSS_KEY + OSS_CONFIG_KEY; + String CACHE_CONFIG_KEY = SYS_OSS_KEY + OSS_CONFIG_KEY; /** * 棰勮鍒楄〃璧勬簮寮�鍏矺ey */ - public static final String PEREVIEW_LIST_RESOURCE_KEY = "sys.oss.previewListResource"; + String PEREVIEW_LIST_RESOURCE_KEY = "sys.oss.previewListResource"; /** * 绯荤粺鏁版嵁ids */ - public static final List<Integer> SYSTEM_DATA_IDS = Arrays.asList(1, 2, 3, 4); + List<Integer> SYSTEM_DATA_IDS = Arrays.asList(1, 2, 3, 4); + + /** + * 浜戞湇鍔″晢 + */ + String[] CLOUD_SERVICE = new String[] {"aliyun", "qcloud", "qiniu"}; + + /** + * https 鐘舵�� + */ + String IS_HTTPS = "Y"; } -- Gitblit v1.9.3