From 69c27d8f2a46654120a777b71f1a29e420ab8035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 30 Apr 2020 18:11:59 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 723bbd7..8837911 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -339,6 +339,8 @@ class HttpClient return false; } + var_dump($hostAndUrls); + $this->host = System::gethostbyname($this->host); return $hostAndUrls; @@ -460,7 +462,6 @@ class HttpClient */ private function coroutine($url, $data = []) { - var_dump($this->host, $url); $client = $this->generate_client($this->host, $url, $data); if ($client->statusCode < 0) { throw new \Exception($client->errMsg);