add clear
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user