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