peng
5 天以前 9fe0aefb466a87815ef450cb4ef99405dad63b4e
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
50
51
package cn.lili.cos;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * 读取配置文件关于cos的配置
 *
 * @author:xp
 * @date:2025/5/16 16:23
 */
@Configuration
@ConfigurationProperties(prefix = "cdn")
public class CDNConfigProperty {
 
    /**
     * 腾讯ARM用户的secretId
     */
    private String secretId;
 
    /**
     * 腾讯ARM用户的secretKey
     */
    private String secretKey;
 
    private String cdnDomain;
 
    public String getSecretId() {
        return secretId;
    }
 
    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }
 
    public String getSecretKey() {
        return secretKey;
    }
 
    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
 
    public String getCdnDomain() {
        return cdnDomain;
    }
 
    public void setCdnDomain(String cdnDomain) {
        this.cdnDomain = cdnDomain;
    }
}