更新时间:2021-08-07 22:34:28
见21.3 的 Spring Boot 文档.本节介绍如何定义使用格式 application-{profile}.properties 的配置文件特定属性文件.这可以帮助您在每个配置文件的基础上隔离属性.
See section 21.3 of the Spring Boot documentation. This section describes how to define profile specific property files that use the format application-{profile}.properties. This can help you isolate properties on a per profile basis.