This commit is contained in:
2021-12-02 16:18:10 +08:00
parent 18d2ce66e6
commit eec4ad8a8b
+1 -1
View File
@@ -203,7 +203,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
private function dispatch($data): array
{
try {
[$handler, $params, $_] = $this->container->get(RpcManager::class)->get($data['service'], $data['method']);
[$handler, $params] = $this->container->get(RpcManager::class)->get($data['service'], $data['method']);
if (is_null($handler)) {
throw new \Exception('Method not found', -32601);
} else {