From 3597f8f8646a447fface6d2240314b351f8ce4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 21 Jan 2026 17:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E6=B5=81=E6=B0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index 40bd4bf8..ef09b254 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -656,8 +656,9 @@ class Room extends Model //房间总流水(2026年以后的) // $total_amount = model('api/RoomDailyIncome')->getIncomeByPeriod($room_id, $stime, $etime); - $total_amount = model('api/GiveGiftBases')->getRoomStatistics_total($room_id, strtotime($stime), strtotime($etime)); - var_dump($total_amount);exit; + $total_amount_status = model('api/GiveGiftBases')->getRoomStatistics_total($room_id, strtotime($stime), strtotime($etime)); + $total_amount = $total_amount_status['total_stats']['total_price']; +// var_dump($total_amount);exit; } //房主总收益