consul清理失效应用 consul作为注册中心,服务挂掉之后,不会自动清理,可以使用以下方法: curl -s -XPUT http://ip:port/v1/agent/service/deregister/“applicationName”