房间小时榜

This commit is contained in:
2025-09-29 14:29:08 +08:00
parent 469063984e
commit 550058ec45

View File

@@ -42,8 +42,13 @@ class RoomHourRanking
->select(); ->select();
if($profit){ if($profit){
foreach ($profit as $v) { foreach ($profit as $v) {
$xlh_status = model('BlindBoxTurntableGift')->get_user_xlh_info(); if($v['room_id'] > 0){
$v['xlh_status'] = $xlh_status['xlh_status']; $xlh_status = model('BlindBoxTurntableGift')->get_user_xlh_info($v['room_id']);
$v['xlh_status'] = $xlh_status['xlh_status'];
}else{
$v['xlh_status'] = 0;
}
} }
} }
return V(1, '获取成功', $profit); return V(1, '获取成功', $profit);