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