更显眼的提示用户腾讯云使用 CDN 回源鉴权后需要关闭 ZFile 中私有空间开关。

This commit is contained in:
zhaojun
2023-03-05 15:29:48 +08:00
parent 461c77012a
commit b95c1d890b

View File

@@ -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;
}