add clear
This commit is contained in:
@@ -694,6 +694,8 @@ class HttpClient
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
if (!is_string($data)) {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->mergeParams($data));
|
||||
} else {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user