房间流水

This commit is contained in:
2026-01-21 17:59:48 +08:00
parent d4ce0399ad
commit 3597f8f864

View File

@@ -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;
}
//房主总收益