This commit is contained in:
2025-11-12 19:07:19 +08:00
parent 8248363a83
commit 06508ca830
3 changed files with 69 additions and 0 deletions

View File

@@ -98,4 +98,20 @@ class SingerSong extends BaseCom
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
//点歌
public function singerSong()
{
$song_id = input('song_id', 0);
if (!$song_id) {
return V(0, '请选择歌曲');
}
$room_id = input('room_id', 0);
if (!$room_id) {
return V(0, '请选择房间');
}
$reslut = model('SingerSong')->singerSong($this->uid, $song_id ,$room_id);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
}