房间流水统计

This commit is contained in:
2026-01-09 11:28:20 +08:00
parent c6ca1094bf
commit bcafb4fae6

View File

@@ -37,7 +37,7 @@ class RoomDailyIncome extends Model
'room_id' => $roomId,
'date' => $today
])->update([
'income' => $amount,
'income' => $today_res['income'] +$amount,
'update_time'=> time(),
]);
if($res){return true;}