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); } }