add clear

This commit is contained in:
2020-04-30 18:13:57 +08:00
parent 28918928c6
commit a7d2121bf0
+1 -1
View File
@@ -311,6 +311,7 @@ class HttpClient
if (!$this->checkIsIp($this->host)) { if (!$this->checkIsIp($this->host)) {
$this->host = System::gethostbyname($this->host); $this->host = System::gethostbyname($this->host);
} }
var_dump($this->host, $string);
return $string; return $string;
} }
@@ -322,7 +323,6 @@ class HttpClient
} }
$hostAndUrls = explode('/', $string); $hostAndUrls = explode('/', $string);
var_dump($hostAndUrls);
if (empty($hostAndUrls)) { if (empty($hostAndUrls)) {
return false; return false;
} }