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
相關文章
相關標籤/搜索