From 5bc428b5f19fc7339d54acffab674ce77fe71f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 9 Jan 2026 15:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E6=B5=81=E6=B0=B4=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index 17075bdc..be9799ac 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -481,7 +481,7 @@ class Room extends Model * 房间流水明细 * 按天统计指定房间流水 */ - public function room_turnover_detail($userId,$room_id,$stime,$etime,$page,$page_limit) { + public function room_turnover_detail($userId,$room_id,$stime,$etimes,$page,$page_limit) { //查看用户和房间的关系 $isOwner = 0; $owner = db::name('vs_room')->where(['id' => $room_id])->value('user_id'); @@ -496,8 +496,8 @@ class Room extends Model //如果没有传参数默认查询本月 $stime = empty($stime) ? date('Y-m-01') : $stime; - $etime = empty($etime) ? date('Y-m-d') : $etime; - $end_time = empty($etime) ? time() : $etime; + $etime = empty($etimes) ? date('Y-m-d') : $etimes; + $end_time = empty($etimes) ? time() : $etimes; $total_amount = 0;//房间总流水 $list_data_array=[];