add clear

This commit is contained in:
2021-01-30 19:00:01 +08:00
parent ed87844b7d
commit 512e62a442
-1
View File
@@ -656,7 +656,6 @@ class HttpClient
$ch = curl_init(); $ch = curl_init();
$url = $this->createRequestUrl($url, $data); $url = $this->createRequestUrl($url, $data);
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); // 超时设置