From b95c1d890b0df4f28491a63efc49dbc0eee27206 Mon Sep 17 00:00:00 2001 From: zhaojun <873019219@qq.com> Date: Sun, 5 Mar 2023 15:29:48 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=9B=B4=E6=98=BE=E7=9C=BC?= =?UTF-8?q?=E7=9A=84=E6=8F=90=E7=A4=BA=E7=94=A8=E6=88=B7=E8=85=BE=E8=AE=AF?= =?UTF-8?q?=E4=BA=91=E4=BD=BF=E7=94=A8=20CDN=20=E5=9B=9E=E6=BA=90=E9=89=B4?= =?UTF-8?q?=E6=9D=83=E5=90=8E=E9=9C=80=E8=A6=81=E5=85=B3=E9=97=AD=20ZFile?= =?UTF-8?q?=20=E4=B8=AD=E7=A7=81=E6=9C=89=E7=A9=BA=E9=97=B4=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zfile/module/storage/model/param/TencentParam.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/im/zhaojun/zfile/module/storage/model/param/TencentParam.java b/src/main/java/im/zhaojun/zfile/module/storage/model/param/TencentParam.java index daa617d..2c650f2 100644 --- a/src/main/java/im/zhaojun/zfile/module/storage/model/param/TencentParam.java +++ b/src/main/java/im/zhaojun/zfile/module/storage/model/param/TencentParam.java @@ -1,6 +1,7 @@ package im.zhaojun.zfile.module.storage.model.param; import im.zhaojun.zfile.module.storage.annotation.StorageParamItem; +import im.zhaojun.zfile.module.storage.model.enums.StorageParamTypeEnum; import lombok.Getter; /** @@ -14,4 +15,7 @@ public class TencentParam extends S3BaseParam { @StorageParamItem(key = "secretId", name = "SecretId", order = 1) private String accessKey; + @StorageParamItem(name = "是否是私有空间", order = 7, type = StorageParamTypeEnum.SWITCH, defaultValue = "true", description = "私有空间会生成带签名的下载链接. 如您使用自定义CDN域名,且在腾讯云开启了回源鉴权,请务必关闭此选项。") + private boolean isPrivate; + } \ No newline at end of file