diff --git a/application/api/controller/RoomHourRanking.php b/application/api/controller/RoomHourRanking.php index 1b8bef8..8674538 100644 --- a/application/api/controller/RoomHourRanking.php +++ b/application/api/controller/RoomHourRanking.php @@ -41,7 +41,7 @@ class RoomHourRanking // ->limit(20) ->select(); if($profit){ - foreach ($profit as $v) { + foreach ($profit as &$v) { if($v['room_id'] > 0){ $xlh_status = model('BlindBoxTurntableGift')->get_user_xlh_info($v['room_id']); $v['xlh_status'] = $xlh_status['xlh_status'];