add clear

This commit is contained in:
2020-04-30 18:11:59 +08:00
parent 5b46609863
commit 69c27d8f2a
+2 -1
View File
@@ -339,6 +339,8 @@ class HttpClient
return false; return false;
} }
var_dump($hostAndUrls);
$this->host = System::gethostbyname($this->host); $this->host = System::gethostbyname($this->host);
return $hostAndUrls; return $hostAndUrls;
@@ -460,7 +462,6 @@ class HttpClient
*/ */
private function coroutine($url, $data = []) private function coroutine($url, $data = [])
{ {
var_dump($this->host, $url);
$client = $this->generate_client($this->host, $url, $data); $client = $this->generate_client($this->host, $url, $data);
if ($client->statusCode < 0) { if ($client->statusCode < 0) {
throw new \Exception($client->errMsg); throw new \Exception($client->errMsg);