博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年1月27日

摘要: 当我们使用properties文件作为Spring Boot的配置文件而不是yaml文件时,怎样实现多环境使用不同的配置信息呢? 在Spring Boot中,多环境配置的文件名需要满足application-{profile}.properties的格式,其中{profile}对应你的环境标识,如下 阅读全文

posted @ 2018-01-27 21:05 刚泡 阅读(5470) 评论(0) 推荐(0) 编辑

摘要: Spring Cloud微服务实战阅读笔记(一) 基础知识 阅读全文

posted @ 2018-01-27 14:18 刚泡 阅读(944) 评论(0) 推荐(0) 编辑