Explorar o código

修改配置文件

qrs hai 1 mes
pai
achega
b1431f4956

+ 1 - 1
alien-gateway/src/main/resources/bootstrap.yml

@@ -1,3 +1,3 @@
 spring:
   profiles:
-    active: test
+    active: dev

+ 1 - 1
alien-second/src/main/resources/bootstrap.yml

@@ -1,3 +1,3 @@
 spring:
   profiles:
-    active: test
+    active: dev

+ 7 - 2
alien-store-platform/src/main/java/shop/alien/storeplatform/AlienStorePlatformApplication.java

@@ -8,8 +8,13 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.annotation.ComponentScan;
 import org.springframework.scheduling.annotation.EnableScheduling;
 
-@ComponentScan({"shop.alien.storeplatform.*","shop.alien.util.*","shop.alien.config.http","shop.alien.config.properties"})
-//@ComponentScan({"shop.alien.storeplatform.*"})
+@ComponentScan({
+        "shop.alien.storeplatform.*",
+        "shop.alien.util.*",
+        "shop.alien.config.http",
+        "shop.alien.config.databases",
+        "shop.alien.config.properties",
+        "shop.alien.config.redis"})
 @EnableSwaggerBootstrapUI
 @MapperScan({"shop.alien.mapper"})
 @SpringBootApplication

+ 1 - 1
alien-store/src/main/resources/bootstrap.yml

@@ -1,3 +1,3 @@
 spring:
   profiles:
-    active: test
+    active: dev