This commit is contained in:
as2252258@163.com
2021-08-04 01:48:12 +08:00
parent 76e3308edd
commit d5732c83b5
+1 -1
View File
@@ -105,7 +105,7 @@ class HTTPServerListener extends Abstracts\Server
if (Context::hasContext(Response::class)) {
return;
}
Context::getContext(Response::class)->send($data,200, $response);
\response()->send($data,200, $response);
$this->eventDispatch->dispatch(new OnAfterRequest());
}
}