From 0f163c519db461287c55fad058f9cbc4f37270d6 Mon Sep 17 00:00:00 2001 From: v Date: Fri, 29 Aug 2025 19:57:42 +0800 Subject: [PATCH] up. gateways --- app/event/AdminGatewayEvents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/event/AdminGatewayEvents.php b/app/event/AdminGatewayEvents.php index ac2b18f..a22d86d 100644 --- a/app/event/AdminGatewayEvents.php +++ b/app/event/AdminGatewayEvents.php @@ -17,7 +17,7 @@ use \GatewayWorker\Lib\Gateway; class AdminGatewayEvents { - public static function onMessage(int $client_id, string $message):void + public static function onMessage(string $client_id, string $message):void { var_dump($message); // 客户端传递的是json数据