项目目录下的优先级最高 配置多个环境, application.properties application-dev.properties application-test.properties yaml 一个文件就可以 相关文章: