房间是否显示 后台

This commit is contained in:
2025-12-31 11:12:22 +08:00
parent f81b84cf39
commit ffa9cc98ed

View File

@@ -147,7 +147,7 @@ class RoomSong extends Model
$text = [
'text' => '房间类型变成k歌--2'
];
model('Chat')->sendMsg(1012,$room_id,$text);
model('api/Chat')->sendMsg(1012,$room_id,$text);
}else{
$res = db::name('vs_room')->where('id',$room_id)->update(['is_song'=>4]);
if(!$res){
@@ -161,7 +161,7 @@ class RoomSong extends Model
'FromUserInfo' => $FromUserInfo,
'action' => 4 //拒绝申请点歌
];
model('Chat')->sendMsg(1013,$room_id,$text);
model('api/Chat')->sendMsg(1013,$room_id,$text);
}
}
//删除申请缓存