切前后台 废弃 没用了

This commit is contained in:
2025-12-02 12:17:43 +08:00
parent 258ba5e5c2
commit 485da90f42

View File

@@ -2911,6 +2911,8 @@ class Room extends Model
//用户在房间内切后台保留机制 //用户在房间内切后台保留机制
public function user_in_room_background($user_id,$room_id,$type) public function user_in_room_background($user_id,$room_id,$type)
{ {
return ['code' => 1, 'msg' => '操作成功', 'data' => null];//没啥用了
if(!$room_id){ if(!$room_id){
return ['code' => 0, 'msg' => '参数错误', 'data' => null]; return ['code' => 0, 'msg' => '参数错误', 'data' => null];
} }