From 37020e8b53874deeb09c078649f135b778f0407d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Sat, 27 Sep 2025 18:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E9=9C=80=E6=B1=82=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/adminapi/controller/Statistical.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/adminapi/controller/Statistical.php b/application/adminapi/controller/Statistical.php index f72fd5f..f84b23e 100644 --- a/application/adminapi/controller/Statistical.php +++ b/application/adminapi/controller/Statistical.php @@ -351,6 +351,8 @@ class Statistical extends adminApi ]; //总收入 $wherew=[]; + unset($where['pay_status']); + unset($where['pay_type']); $return_data['total_money'] = db::name('vs_user_recharge')->where($where)->sum('money'); //未支付 $return_data['unpaid_money'] = db::name('vs_user_recharge')->where($where)->where('pay_status',1)->sum('money');