From f6b89da482bcf8dc67dec51719773d9995d20fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 25 Nov 2020 11:05:58 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index fa34cf2..fa456b8 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -681,9 +681,6 @@ class HttpClient curl_setopt($ch, CURLOPT_POST, 1); } - if (!empty($this->_data)) { - curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data); - } if ($this->method != self::GET) { curl_setopt($ch, CURLOPT_POSTFIELDS, $data); }