标签:ring rop efi use private 配置 pre ref wired
1、自定义配置
A、单一属性配置 @Value("${username}")
private String username;
B、实体类封装
@ConfigurationProperties(prefix = "stu")
@Component ----以上为实体类
@Autowired
private Student student;
标签:ring rop efi use private 配置 pre ref wired
原文地址:https://www.cnblogs.com/daysafter/p/12979444.html