@Component
@ConfigurationProperties(prefix="aliyun")
public class AliyunProperties
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
-
accessKeyId
@Value("${aliyun.access.key.id:placeholder}")
private String accessKeyId
-
accessKeySecret
@Value("${aliyun.access.key.secret:placeholder}")
private String accessKeySecret
-
ossEndpoint
@Value("${aliyun.oss.endpoint:https://oss-cn-shenzhen.aliyuncs.com}")
private String ossEndpoint
-
ossBucketName
@Value("${aliyun.oss.bucket.name:}")
private String ossBucketName
-
ossBaseUrl
@Value("${aliyun.oss.base.url:https://bytedesk.oss-cn-shenzhen.aliyuncs.com}")
private String ossBaseUrl
-
uploadDirPrefix
@Value("${upload.dir.prefix:}")
private String uploadDirPrefix
-
Constructor Details
-
AliyunProperties
public AliyunProperties()