add clear

This commit is contained in:
2020-04-30 18:10:26 +08:00
parent 15ad099c45
commit 5b46609863
+1
View File
@@ -460,6 +460,7 @@ 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);