房间流水统计
This commit is contained in:
@@ -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;}
|
||||
|
||||
Reference in New Issue
Block a user