From 04a86e3e178bc2908614deb39fd8a9ad849b3853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 3 Apr 2020 17:50:45 +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 75c4562..43b3b0b 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -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]; }