diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 5023c0e..9d0da58 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -220,7 +220,6 @@ class HttpClient */ private function request($url, $data = []) { - echo $url . PHP_EOL; $data = $this->paramEncode($data); if ($this->use_swoole === false) { return $this->useCurl($url, $data); @@ -464,7 +463,9 @@ class HttpClient if ($this->method == self::POST) { curl_setopt($ch, CURLOPT_POST, 1); } + echo $url . PHP_EOL; if ($this->method != self::GET) { + var_dump($this->_data); if (!empty($this->_data)) { curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data); } else {