修改eureka中的微服务的实例名称
yml
eureka: client: fetch-registry: true register-with-eureka: true service-url: defaultZone: http://eureka7002.com:7002/eureka/,http://eureka7001.com:7001/eureka/ instance: instance-id: payment8002 prefer-ip-address: true
效果