一般我们获取yml、properties中的配置。
这样获取
@Value("${edj.balance}")
String balance;
或者
@Data
@Configuration
@PropertySource(value = {
"xxxxxx"}, ignoreResourceNotFound =
一般我们获取yml、properties中的配置。
这样获取
@Value("${edj.balance}")
String balance;
或者
@Data
@Configuration
@PropertySource(value = {
"xxxxxx"}, ignoreResourceNotFound =