From ba796bc3734f6e0ae7adfe59a5cab6b0d458e80e Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 16 Mar 2020 19:26:26 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8fdd4b8..2cdd823 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -341,6 +341,7 @@ class HttpClient */ private function coroutine($ip, $url, $data = []) { + echo $ip . ':' . $url . PHP_EOL; $client = $this->generate_client($ip, $url, $data); if ($client->statusCode < 0) { throw new \Exception($client->errMsg); @@ -393,7 +394,6 @@ class HttpClient */ private function generate_client($host, $url, $data) { - echo $host . ':' . $url . PHP_EOL; $client = new SClient($host, $this->getHostPort(), $this->isSSL); if (!empty($this->agent)) { $this->header['User-Agent'] = $this->agent;