add clear

This commit is contained in:
2020-04-03 17:35:56 +08:00
parent 92453ca02c
commit 2d37e4e6d7
+1
View File
@@ -339,6 +339,7 @@ class HttpClient
{ {
$url = $this->replaceHost($url); $url = $this->replaceHost($url);
$explode = explode('/', $url); $explode = explode('/', $url);
var_dump($explode);
$first = array_shift($explode); $first = array_shift($explode);
if (strpos($first, ':') !== false) { if (strpos($first, ':') !== false) {
[$first, $this->port] = explode(':', $first); [$first, $this->port] = explode(':', $first);