From a60937297bf56e1d742b1fd1ce82339e973935ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Mon, 22 Dec 2025 19:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=97=B6=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/RoomHourRanking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/model/RoomHourRanking.php b/application/api/model/RoomHourRanking.php index 6598573e..dbb5517c 100644 --- a/application/api/model/RoomHourRanking.php +++ b/application/api/model/RoomHourRanking.php @@ -118,7 +118,7 @@ class RoomHourRanking extends Model ->whereBetween('b.createtime', [$start_time, $end_time]) ->find(); - if($profit[$k]) { + if($profit[$k] != null) { $profit[$k]['total_price'] = $profit[$k]['total_price'] * get_system_config_value('coin_charm_exp'); if($room_id > 0 && $is_open_xlh == 1){ $xlh_status = model('BlindBoxTurntableGift')->get_user_xlh_info($room_id);