mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 04:08:01 +08:00
Fixed bug that parameters don't parsed correctly in grpc server. (#3062)
This commit is contained in:
parent
cfaf5869ff
commit
20d3f25221
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user