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