add clear

This commit is contained in:
2021-04-06 15:50:37 +08:00
parent 50773cefad
commit 457d0ebd4e
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -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);
}
}