From 6e488f87b11d80e48dc0faa9eb07a194dff1b542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ms=C2=B7xl?= Date: Sat, 14 Nov 2020 03:06:42 +0800 Subject: [PATCH] 3 --- wchat/common/HttpClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 740fb63..cce326f 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -402,9 +402,9 @@ class HttpClient $this->host .= ':' . $this->port; } if ($this->isSSL) { - return $this->curl('https://' . $this->host . '/' . $url, $data); + return $this->curl($this->host . '/' . $url, $data); } else { - return $this->curl('http://' . $this->host . '/' . $url, $data); + return $this->curl($this->host . '/' . $url, $data); } }