在离线

This commit is contained in:
2025-12-02 19:32:46 +08:00
parent 4595d759a4
commit 02a5988800

View File

@@ -15,6 +15,9 @@ class Xintiao extends BaseCom
public function keep_room_heartbeat()
{
$room_id = input('room_id');
if(!$room_id){
return V(0, '参数错误', null);
}
$user_id = $this->uid;
$is_xintiao = db::name('vs_room_heartbeat')->where(['user_id' => $user_id, 'room_id' => $room_id])->find();
if($is_xintiao){