@ -37,6 +37,8 @@ eureka:
##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
instance-id: ${spring.cloud.client.ipAddress}:${server.port}
leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
server:
enable-self-preservation: false
## 配置服务动态刷新
#spring:
# cloud: