diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 18958c2..db276b0 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -683,6 +683,8 @@ class HttpClient if ($this->method != self::GET && !empty($this->_data)) { $this->_data = $this->mergeParams($data); + } else { + $this->_data = $data; } curl_setopt($ch, CURLOPT_CUSTOMREQUEST, strtoupper($this->method));