diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index d3f760b..e5dbe81 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -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); }