add clear

This commit is contained in:
2020-11-25 17:26:59 +08:00
parent 07803dd31a
commit 062f712862
+2
View File
@@ -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));