From f414438d8320f1ca4566b97e5d9b415d813b9ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 16 Dec 2020 15:52:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Client/Curl.php | 1 - HttpServer/Route/Middleware.php | 1 - 2 files changed, 2 deletions(-) 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) {