up. 优化代码内容
This commit is contained in:
parent
6b2fc6f04e
commit
0cfa4bf3c7
@ -28,6 +28,7 @@ class GatewaySubscribe
|
||||
*/
|
||||
public function subscribe(Event $event): void
|
||||
{
|
||||
var_dump("事件订阅");
|
||||
$event->listen('clientLogin', [$this,'onClientLogin']);
|
||||
$event->listen('lockClient',[$this,'onLockClient']);
|
||||
$event->listen('clientClose',[$this,'onClientClose']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user