spring: application: name: smart-house-statistics # 配置中心 cloud: config: uri: ${config-url} # Eureka 客户端配置 eureka: client: service-url: defaultZone: http://smart-house-eureka:7001/eureka register-with-eureka: true fetch-registry: true instance: prefer-ip-address: true