From 1f492a1521766f0ae0085974c21ce697432479e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 3 Apr 2020 17:48:06 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index bb1237b..75c4562 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -283,8 +283,10 @@ 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); } }