SpringBoot的不同环境配置切换 第一中环境 切换方式,yaml一个文件中分模块--- 从上图可以看出 可以通过修改spring.profiles.active就可以切换环境 第二种环境切换方式