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;
|
}
|
}
|