bug
huanghongfa
2021-02-01 c30b0597c3ea882dca80df67bae9e30b21b35158
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
spring:
  application:
    name: user
  cloud:
    config:
      discovery:
        enabled: true
        service-id: config  # 注册中心的服务名
      profile: test  # 指定配置文件的环境
  profiles:
    active: test
 
eureka:
  client:
    service-url:
      defaultZone: http://${EUREKA_URL:localhost}:8192/eureka