up. ws update.
This commit is contained in:
parent
0aeb4c62d1
commit
9419f2cf51
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user