xufeng 2 lat temu
rodzic
commit
e6ff0ea010
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      game-module/game-manage/pom.xml

+ 6 - 0
game-module/game-manage/pom.xml

@@ -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>