diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index c0e6aef..1413244 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($this->host); if ($this->isSSL) { return $this->curl('https://' . $this->host . '/' . $url, $data); } else {