Alex_TD

2020年2月26日

Springboot----属性配置(properties和yaml)

摘要: 1.application.properties 文件 @Value 读取 属性 2.自定义properties文件读取: @PropertySource("classpath:xxx.properties") @Value("${}") 3.application.yaml文件 @Configur 阅读全文

posted @ 2020-02-26 23:00 Alex_TD 阅读(296) 评论(0) 推荐(0) 编辑