spring: profiles: active: dev #开发环境dev 测试环境test 正式环境prod 启动时可以设置参数Java -jar xxxxxx.jar spring.profiles.actiove=prod