摘要: Spring Boot /** * 只有在容器中的组件,才能拥有springboot的功能 */ //@Component//将组件加到容器中 @ConfigurationProperties(prefix = "mycar")//prefix指的配置文件里的前缀相绑定 public class C 阅读全文
posted @ 2021-04-11 14:44 GSCicode 阅读(210) 评论(0) 推荐(0)