add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.dobbinsoft.fw.support.properties;
 
import com.dobbinsoft.fw.support.annotation.DynamicConfigProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * Description:
 * User: rize
 * Date: 2020/8/6
 * Time: 15:42
 */
@Data
@DynamicConfigProperties(prefix = FwDynamicConst.OSS_CONFIG_PREFIX)
@ConfigurationProperties(prefix = "com.dobbinsoft.oss")
public class FwObjectStorageProperties {
 
    private String enable;
 
    private String aliAccessKeyId;
 
    private String aliAccessKeySecret;
 
    private String aliEndpoint;
 
    private String aliBucket;
 
    /**
     * 启用CDN的情况基础URL
     */
    private String aliBaseUrl;
 
    private String qcloudSecretId;
 
    private String qcloudSecretKey;
 
    private String qcloudRegion;
 
    private String qcloudBucket;
 
    /**
     * 启用CDN的情况基础URL
     */
    private String qcloudBaseUrl;
    
    private String localPath;
 
}