会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
独行侠X
一个善于 C-V 编程的 城墟猿 , 正在 学习 Spring Cloud, 拥抱开源,追求 实用 的 新 事物!
生命应该浪费在美好的事物上!
博客园
首页
新随笔
联系
订阅
管理
2021年9月4日
spring-boot自定义yml读取
摘要: #通过注解方式加载自定义yml文件 @Component @PropertySource(value = "conf/jgpt.yml")//指定文件位置 @ConfigurationProperties(prefix = "jgpt-api")// 指定前缀 @Data public class
阅读全文
posted @ 2021-09-04 01:17 独行侠X
阅读(512)
评论(1)
推荐(0)
编辑
公告