add clear

This commit is contained in:
2021-01-30 18:59:21 +08:00
parent 781d754d59
commit ed87844b7d
+1 -1
View File
@@ -656,7 +656,7 @@ class HttpClient
$ch = curl_init(); $ch = curl_init();
$url = $this->createRequestUrl($url, $data); $url = $this->createRequestUrl($url, $data);
var_dump($url); var_dump($this->_data);
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
if ($this->timeout > 0) { if ($this->timeout > 0) {
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // 超时设置 curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // 超时设置