From 1e507f0e6c45cc35c36e599573a13a3b1aa34f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 25 Nov 2020 17:27:14 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index db276b0..2fac68d 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -684,7 +684,7 @@ class HttpClient if ($this->method != self::GET && !empty($this->_data)) { $this->_data = $this->mergeParams($data); } else { - $this->_data = $data; + $this->_data = $this->mergeParams($data); } curl_setopt($ch, CURLOPT_CUSTOMREQUEST, strtoupper($this->method));