add clear

This commit is contained in:
2020-11-25 17:27:14 +08:00
parent 062f712862
commit 1e507f0e6c
+1 -1
View File
@@ -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));