This commit is contained in:
2020-12-16 15:52:13 +08:00
parent 214b458030
commit f414438d83
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -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()); // 超时设置
-1
View File
@@ -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) {