diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 3fbce0e..6f3131d 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -401,11 +401,7 @@ class HttpClient if (!empty($this->port)) { $this->host .= ':' . $this->port; } - if ($this->isSSL) { - return $this->curl($this->host . '/' . $url, $data); - } else { - return $this->curl($this->host . '/' . $url, $data); - } + return $this->curl('http://' . $this->host . '/' . $url, $data); } /**