部分配置去掉

This commit is contained in:
2025-07-23 16:37:49 +08:00
parent e334685b1d
commit 36603cbda9
5 changed files with 569 additions and 565 deletions
File diff suppressed because it is too large Load Diff
@@ -14,13 +14,13 @@ import org.springframework.stereotype.Component;
@Data
public class StaticConfig {
@Value("${jeecg.oss.accessKey}")
@Value("${jeecg.oss.accessKey:}")
private String accessKeyId;
@Value("${jeecg.oss.secretKey}")
@Value("${jeecg.oss.secretKey:}")
private String accessKeySecret;
@Value(value = "${spring.mail.username}")
@Value(value = "${spring.mail.username:}")
private String emailFrom;
static {
@@ -13,13 +13,13 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public class OssConfiguration {
@Value("${jeecg.oss.endpoint}")
@Value("${jeecg.oss.endpoint:}")
private String endpoint;
@Value("${jeecg.oss.accessKey}")
@Value("${jeecg.oss.accessKey:}")
private String accessKeyId;
@Value("${jeecg.oss.secretKey}")
@Value("${jeecg.oss.secretKey:}")
private String accessKeySecret;
@Value("${jeecg.oss.bucketName}")
@Value("${jeecg.oss.bucketName:}")
private String bucketName;
@Value("${jeecg.oss.staticDomain:}")
private String staticDomain;