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