From 03df0bfa4e71b52304bb913584e062599f34663e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 24 Sep 2020 11:41:23 +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 1413244..355ee18 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -380,11 +380,11 @@ class HttpClient if ($this->isHttp($url) || $this->isHttps($url)) { return $this->curl($url, $data); } - var_dump($this->host,$url); $url = $this->matchHost(ltrim($url, '/')); if (!empty($this->port)) { $this->host .= ':' . $this->port; } + var_dump('https://' . $this->host . '/' . $url); if ($this->isSSL) { return $this->curl('https://' . $this->host . '/' . $url, $data); } else {