diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 4559a5e..4c82ead 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -654,7 +654,10 @@ class HttpClient private function curlParse($url, $data) { $ch = curl_init(); - curl_setopt($ch, CURLOPT_URL, $this->createRequestUrl($url, $data)); + + $url = $this->createRequestUrl($url, $data); + var_dump($url); + curl_setopt($ch, CURLOPT_URL, $url); if ($this->timeout > 0) { curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // 超时设置 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->timeout); // 超时设置