2020
10-13
10-13
spring boot实现profiles动态切换的示例
具体做法:1、首先在pom中添加profiles:<profiles><profile><id>dev</id><activation><activeByDefault>true</activeByDefault></activation><properties><spring.profiles.active>dev</spring.profiles.active></properties><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><optional>true</optional...
继续阅读 >