改名
This commit is contained in:
@@ -159,7 +159,6 @@ class Response extends HttpService
|
||||
$sendData = $this->parseData($context);
|
||||
|
||||
$response = Context::getContext('response');
|
||||
var_dump($response);
|
||||
if ($response instanceof SResponse) {
|
||||
$this->sendData($response, $sendData, $statusCode);
|
||||
} else {
|
||||
|
||||
@@ -493,6 +493,7 @@ class Router extends HttpService implements RouterInterface
|
||||
return send(self::NOT_FOUND);
|
||||
}
|
||||
send(($response = $node->dispatch()), 200);
|
||||
var_dump($response);
|
||||
if (!$node->hasAfter()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user