Skip to content

Commit feb7004

Browse files
committed
🚴 feat(读取多配置文件): spring cloud config 读取多配置文件
1 parent 8fb7232 commit feb7004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service-customer/src/main/resources/bootstrap.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spring.cloud.config.profile=dev
99
spring.profiles.active=dev
1010

1111
# 指定具体的配置文件
12-
# spring.cloud.config.name=service-customer-mysql,service-customer-redis
12+
spring.cloud.config.name=service-customer,service-customer-mysql,service-customer-redis
1313
spring.cloud.config.uri=http://127.0.0.1:1201/
1414

1515
spring.zipkin.base-url=http://127.0.0.1:9411

0 commit comments

Comments
 (0)