mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
✨ 更显眼的提示用户腾讯云使用 CDN 回源鉴权后需要关闭 ZFile 中私有空间开关。
This commit is contained in:
@@ -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 = "私有空间会生成带签名的下载链接. <font color=\"red\">如您使用自定义CDN域名,且在腾讯云开启了回源鉴权,请务必关闭此选项。</font>")
|
||||
private boolean isPrivate;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user