modify plugin name

This commit is contained in:
2022-06-16 18:49:33 +08:00
parent 348f0129e8
commit 8d20f56660
+1 -1
View File
@@ -214,7 +214,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
if (!method_exists($controller, $data['method'])) { if (!method_exists($controller, $data['method'])) {
throw new Exception('Method not found', -32601); throw new Exception('Method not found', -32601);
} }
$params = $this->container->getArgs($controller::class, $data['method']); $params = $this->container->getArgs($data['method'], $controller::class);
Context::setContext(RequestInterface::class, $this->createServerRequest($params)); Context::setContext(RequestInterface::class, $this->createServerRequest($params));