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