add clear
This commit is contained in:
@@ -283,6 +283,7 @@ class HttpClient
|
||||
$data = $this->paramEncode($data);
|
||||
if ($this->use_swoole) {
|
||||
$url = $this->matchHost($url);
|
||||
var_dump($this->host, $url);
|
||||
return $this->coroutine($this->host, $url, $data);
|
||||
} else {
|
||||
return $this->useCurl($url, $data);
|
||||
|
||||
Reference in New Issue
Block a user