add clear

This commit is contained in:
2020-04-03 17:50:45 +08:00
parent 9d82b5399c
commit 04a86e3e17
+1 -2
View File
@@ -283,10 +283,8 @@ class HttpClient
$data = $this->paramEncode($data);
if ($this->use_swoole) {
[$url, $host] = $this->parseUrlHost($url);
var_dump($url, $host);
return $this->coroutine($host, $url, $data);
} else {
var_dump($url, 'curl');
return $this->useCurl($url, $data);
}
}
@@ -351,6 +349,7 @@ class HttpClient
$this->isSSL = false;
}
}
var_dump($first);
$url = '/' . implode('/', $explode);
return [$first, $url];
}