up. ws update.

This commit is contained in:
扶桑花间 2025-08-28 22:49:12 +08:00
parent 0aeb4c62d1
commit 9419f2cf51

View File

@ -66,7 +66,7 @@ class Worker extends Command
$connection->clientName = $clientName; $connection->clientName = $clientName;
$connection->clientVersion = $clientVersion; $connection->clientVersion = $clientVersion;
// 绑定成功通知 // 绑定成功通知
$connection->send(json_encode(['event'=>'bind_connect_id_success','userId'=>$auth->userId])); $connection->send(json_encode(['event'=>'BIND_USER_SUCCESS','userId'=>$auth->userId]));
} }
if ($messageJson['event'] == 'lock_client_screen') { if ($messageJson['event'] == 'lock_client_screen') {
if($connection->userId) { if($connection->userId) {