房间小时榜
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user