From 2efcfd069c102e3fee0458d4a1c2a4b731ef917e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Mon, 22 Dec 2025 14:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=B9=B8=E8=BF=90=E5=B8=81=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=AD=97=E6=AE=B5-=E4=BF=AE=E6=94=B9-=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/adminapi/controller/Statistical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/adminapi/controller/Statistical.php b/application/adminapi/controller/Statistical.php index c2bd29e9..1970d2e0 100644 --- a/application/adminapi/controller/Statistical.php +++ b/application/adminapi/controller/Statistical.php @@ -281,7 +281,7 @@ class Statistical extends adminApi if(!empty($begin_time) && !empty($end_time)){ $where_lucky['createtime'] = ['between',[strtotime($begin_time),strtotime($end_time)]]; } - $lists[$key]['lucky_coin'] = db::name('vs_room_luck_value')->where('room_id',$room_id)->where($where_lucky)->sum('luck_value'); + $lists[$key]['lucky_coin'] = db::name('vs_room_luck_value')->where('room_id',$value['from_id'])->where($where_lucky)->sum('luck_value'); } $where_lucky = [];