gongfuzhu 1 年之前
父节点
当前提交
c3a8a1090b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SpringBatchServiceServer/src/main/resources/bootstrap.yml

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

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