gongfuzhu 1 ano atrás
pai
commit
c3a8a1090b

+ 1 - 1
SpringBatchServiceServer/src/main/resources/bootstrap.yml

@@ -10,7 +10,7 @@ spring:
     name: SpringBatchService
   # 当前读取配置文件的类型
   profiles:
-    active: dev
+    active: ${spring.profiles.active}
   #配置中心
   cloud:
     config: