mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
add OSS模块 增加预览图片开关
This commit is contained in:
@ -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";
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user