会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rickiyang
博客园
首页
新随笔
联系
管理
2019年4月16日
SpringBoot中读取配置文件的几种方式
摘要: 1.读取application文件 在application.yml或者properties文件中添加: info: name: xiaoming age: 13 sex: 1 读取方式如下: import org.springframework.beans.factory.annotation.V
阅读全文
posted @ 2019-04-16 23:57 rickiyang
阅读(1584)
评论(0)
推荐(0)
公告