改名
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
|||||||
private function dispatch($data): array
|
private function dispatch($data): array
|
||||||
{
|
{
|
||||||
try {
|
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)) {
|
if (is_null($handler)) {
|
||||||
throw new \Exception('Method not found', -32601);
|
throw new \Exception('Method not found', -32601);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user