会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
antguo
博客园
首页
新随笔
联系
订阅
管理
2020年6月24日
SpringBoot读取.yml/.properties配置文件
摘要: .properties文件内容如下: test.name=test test.msg=123456 .yml文件内容如下: spring: test: name: test msg: 123456 一、@Configuration+@PropertySource+@Value读取.propertie
阅读全文
posted @ 2020-06-24 15:07 antguo
阅读(839)
评论(0)
推荐(0)
编辑
公告