mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-17 16:56:39 +08:00
39 lines
666 B
Java
39 lines
666 B
Java
package com.ruoyi.oss.constant;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 对象存储常量
|
|
*
|
|
* @author Lion Li
|
|
*/
|
|
public interface OssConstant {
|
|
|
|
/**
|
|
* 默认配置KEY
|
|
*/
|
|
String DEFAULT_CONFIG_KEY = "sys_oss:default_config";
|
|
|
|
/**
|
|
* 预览列表资源开关Key
|
|
*/
|
|
String PEREVIEW_LIST_RESOURCE_KEY = "sys.oss.previewListResource";
|
|
|
|
/**
|
|
* 系统数据ids
|
|
*/
|
|
List<Integer> SYSTEM_DATA_IDS = Arrays.asList(1, 2, 3, 4);
|
|
|
|
/**
|
|
* 云服务商
|
|
*/
|
|
String[] CLOUD_SERVICE = new String[] {"aliyun", "qcloud", "qiniu"};
|
|
|
|
/**
|
|
* https 状态
|
|
*/
|
|
String IS_HTTPS = "Y";
|
|
|
|
}
|