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