摘要: 阅读全文
posted @ 2019-11-22 17:21 if年少有为 阅读(1827) 评论(0) 推荐(0) 编辑
摘要: 1. 使用yaml来配置,直接配置application.yml文件 2. 使用配置application.properties方式来配置 主配置文件的文件名,可以是 默认使用 的配置; 在配置文件中,使用 激活使用 在 配置激活的环境 除了在配置文件中确定运行之外,还可以在idea中编辑配置决定运 阅读全文
posted @ 2019-11-22 15:23 if年少有为 阅读(516) 评论(0) 推荐(0) 编辑
摘要: springBoot2.0使用@ImportResource引入spring配置文件 阅读全文
posted @ 2019-11-22 11:18 if年少有为 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: Springboot2.0加载指定配置文件@PropertySource的使用 阅读全文
posted @ 2019-11-22 11:06 if年少有为 阅读(1463) 评论(1) 推荐(0) 编辑
摘要: 怎么编写properties文件 阅读全文
posted @ 2019-11-22 10:42 if年少有为 阅读(918) 评论(0) 推荐(0) 编辑
摘要: springBoot2.0 Yaml值获取 阅读全文
posted @ 2019-11-22 09:30 if年少有为 阅读(766) 评论(0) 推荐(0) 编辑