This commit is contained in:
2021-05-20 15:01:46 +08:00
parent 3161f0a571
commit b261961665
+1 -1
View File
@@ -121,7 +121,7 @@ class Node extends HttpService
*/
public function createDispatch(): Closure
{
return function () {
return static function () {
$dispatchParam = Context::getContext('dispatch-param');
if (empty($dispatchParam)) {
$dispatchParam = [\request()];