改名
This commit is contained in:
@@ -98,7 +98,6 @@ class Curl extends ClientAbstracts
|
|||||||
*/
|
*/
|
||||||
private function do($resource, $path, $method)
|
private function do($resource, $path, $method)
|
||||||
{
|
{
|
||||||
var_dump($path);
|
|
||||||
curl_setopt($resource, CURLOPT_URL, $path);
|
curl_setopt($resource, CURLOPT_URL, $path);
|
||||||
curl_setopt($resource, CURLOPT_TIMEOUT, $this->getTimeout()); // 超时设置
|
curl_setopt($resource, CURLOPT_TIMEOUT, $this->getTimeout()); // 超时设置
|
||||||
curl_setopt($resource, CURLOPT_CONNECTTIMEOUT, $this->getConnectTimeout()); // 超时设置
|
curl_setopt($resource, CURLOPT_CONNECTTIMEOUT, $this->getConnectTimeout()); // 超时设置
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ class Middleware
|
|||||||
$this->set_attributes($node);
|
$this->set_attributes($node);
|
||||||
}
|
}
|
||||||
return $node->callback = Reduce::reduce(function () use ($node) {
|
return $node->callback = Reduce::reduce(function () use ($node) {
|
||||||
var_dump($node->handler);
|
|
||||||
return Dispatch::create($node->handler, func_get_args())->dispatch();
|
return Dispatch::create($node->handler, func_get_args())->dispatch();
|
||||||
}, $this->annotation($node));
|
}, $this->annotation($node));
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
|
|||||||
Reference in New Issue
Block a user