Browse Source

modified yml config

huodongdong 7 years ago
parent
commit
42bb7557bd

+ 2 - 1
rankin-cms-web/src/main/resources/bootstrap.yml

@@ -5,7 +5,8 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
+      profile: ${profile:dev}
+
 feign:
   httpclient:
     enabled: true

+ 2 - 2
rankin-product-service/src/main/resources/bootstrap.yml

@@ -5,7 +5,7 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
-
+      profile: ${profile:dev}
+      
 server:
   port: 8100

+ 1 - 1
rankin-resource-service/src/main/resources/bootstrap.yml

@@ -5,7 +5,7 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
+      profile: ${profile:dev}
 
 server:
   port: 8200

+ 1 - 1
rankin-task/src/main/resources/bootstrap.yml

@@ -5,7 +5,7 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
+      profile: ${profile:dev}
 
 feign:
   httpclient:

+ 1 - 1
rankin-trade-service/src/main/resources/bootstrap.yml

@@ -5,7 +5,7 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
+      profile: ${profile:dev}
 
 server:
   port: 8300

+ 1 - 1
rankin-user-service/src/main/resources/bootstrap.yml

@@ -7,7 +7,7 @@ spring:
     config:
       uri: http://config.rankin.com:8921
       label: master
-      profile: dev
+      profile: ${profile:dev}
 
 #logging:
 #  level: