Spring could 多环境配置-spring.profiles.active

为了支持多环境,可以配置多个配置文件, 在启动时指定使用那个配置文件, 如下: application-dev.properties server.port=7765 spring.application.name=sfgserver eureka.client.serviceUrl.defaultZone=http://localhost:7761/eureka/   spring.main.a
相关文章
相关标签/搜索