会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博主首页
笑~笑
博客园
新随笔
联系
管理
2020年8月10日
springboot读取配置文件值
摘要: 依赖注入 1、非静态属性 @Configuration @ConfigurationProperties("flow") @Data @Accessors(chain = true) public class FlowConfig { /** * 账号 */ private String usern
阅读全文
posted @ 2020-08-10 13:50 笑~笑
阅读(520)
评论(0)
推荐(0)
公告