diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 167d987..3b0ced8 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -475,6 +475,8 @@ class HttpClient if (!empty($this->_data)) { $client->setData($this->_data); } + + $url = ltrim($url, '/'); if (strtolower($this->method) == self::GET) { if (!empty($data)) { $url .= '?' . $data;