diff --git a/HttpServer/Client/Curl.php b/HttpServer/Client/Curl.php index ee1699ee..938a848e 100644 --- a/HttpServer/Client/Curl.php +++ b/HttpServer/Client/Curl.php @@ -98,7 +98,6 @@ class Curl extends ClientAbstracts */ private function do($resource, $path, $method) { - var_dump($path); curl_setopt($resource, CURLOPT_URL, $path); curl_setopt($resource, CURLOPT_TIMEOUT, $this->getTimeout()); // 超时设置 curl_setopt($resource, CURLOPT_CONNECTTIMEOUT, $this->getConnectTimeout()); // 超时设置 diff --git a/HttpServer/Route/Middleware.php b/HttpServer/Route/Middleware.php index 8371a7a3..6cdee8b3 100644 --- a/HttpServer/Route/Middleware.php +++ b/HttpServer/Route/Middleware.php @@ -60,7 +60,6 @@ class Middleware $this->set_attributes($node); } return $node->callback = Reduce::reduce(function () use ($node) { - var_dump($node->handler); return Dispatch::create($node->handler, func_get_args())->dispatch(); }, $this->annotation($node)); } catch (\Throwable $exception) {