diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index af01af6..213652b 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -681,7 +681,7 @@ class HttpClient curl_setopt($ch, CURLOPT_POST, 1); } if ($this->method == self::GET || !empty($this->_data)) { - curl_setopt($ch, CURLOPT_POSTFIELDS, $data); + curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data); } else { curl_setopt($ch, CURLOPT_POSTFIELDS, $this->mergeParams($data)); }