add clear

This commit is contained in:
2020-08-24 11:37:59 +08:00
parent a8840aaae8
commit 14bea139e9
+1 -2
View File
@@ -655,9 +655,8 @@ class HttpClient
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $this->createRequestUrl($url, $data));
curl_setopt($ch, CURLOPT_TIMEOUT, 60);// 超时设置
curl_setopt($ch, CURLOPT_TIMEOUT, 120);// 超时设置
curl_setopt($ch, CURLOPT_HEADER, true);
if ($headers = $this->parseHeaderMat()) {
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
}