From fa4aea6b2cb5f608b9c2c0bf43936106c15db763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 6 Apr 2020 02:06:34 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index c7d65a8..7756686 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -460,7 +460,6 @@ class HttpClient */ private function coroutine($url, $data = []) { - var_dump($url); $client = $this->generate_client($this->host, $url, $data); if ($client->statusCode < 0) { throw new \Exception($client->errMsg); @@ -517,11 +516,11 @@ class HttpClient */ private function generate_client($host, $url, $data) { - var_dump($host, $this->getHostPort(), $url); $client = new SClient($host, $this->getHostPort(), $this->isSSL); if (strpos($url, '/') !== 0) { $url = '/' . $url; } + var_dump($host, $this->getHostPort(), $url); $client->set($this->settings()); if (!empty($this->agent)) { $this->header['User-Agent'] = $this->agent;