diff --git a/RpcJsonp.php b/RpcJsonp.php index 4183277..2596fa3 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -58,7 +58,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa { $this->eventProvider->on(OnBeforeShutdown::class, [$this, 'onBeforeShutdown']); - scan_directory(APP_PATH . 'rpc', 'Rpc'); + scan_directory(APP_PATH . 'rpc', 'app\Rpc'); $this->eventProvider->on(OnWorkerStart::class, [$this, 'consulWatches']); $this->eventProvider->on(OnServerBeforeStart::class, [$this, 'register']);