add OSS模块 增加预览图片开关

This commit is contained in:
疯狂的狮子li
2021-07-23 19:14:37 +08:00
parent 7114fc2720
commit dd9340090b
4 changed files with 17 additions and 1 deletions

View File

@ -12,4 +12,9 @@ public class CloudConstant {
*/
public final static String CLOUD_STORAGE_CONFIG_KEY = "sys.oss.cloudStorageService";
/**
* 预览列表资源开关Key
*/
public final static String PEREVIEW_LIST_RESOURCE_KEY = "sys.oss.previewListResource";
}

View File

@ -15,6 +15,8 @@ import org.springframework.stereotype.Component;
@ConfigurationProperties(prefix = "cloud-storage")
public class CloudStorageProperties {
private Boolean previewListImage;
private QiniuProperties qiniu;
private AliyunProperties aliyun;