spring boot项目中我们也可以配置profile 多环境开发,配置方式是application-{profile}.properties来定义,然后在application.properties中指明使用哪种开发环境。

spring boot profile 配置

相关文章: