@@ -26,6 +26,12 @@
<artifactId>game-common-redis</artifactId>
<version>${game-common-redis.vertion}</version>
</dependency>
+
+ <!-- spring boot默认不去扫描 bootstrap.yml文件了 -->
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-bootstrap</artifactId>
+ </dependency>
</dependencies>
</project>