Fixed bug that parameters don't parsed correctly in grpc server. (#3062)

This commit is contained in:
李文强 2021-01-04 10:40:44 +08:00 committed by GitHub
parent cfaf5869ff
commit 20d3f25221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class CoreMiddleware extends HttpCoreMiddleware
$grpcMessage = 'Action not exist.';
return $this->handleResponse(null, 500, '500', $grpcMessage);
}
$parameters = $this->parseMethodParameters($controller, $action, $dispatched->params);
$parameters = $this->parseParameters($controller, $action, $dispatched->params);
$result = $controllerInstance->{$action}(...$parameters);
}