From 2a7b6f90969b041179099a0e6e43667678e79546 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Mon, 28 Aug 2023 18:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/User.php b/app/controller/User.php index c133f9b..9762b8b 100644 --- a/app/controller/User.php +++ b/app/controller/User.php @@ -152,7 +152,7 @@ class User extends BaseController $limit = $data['limit'] ?: 10; $list = Db::name('awards_records') - ->where('user_id',$userData['id']) + ->where(['status' => 1,'user_id' => $userData['id']]) ->field('awards_amount,withdrawal_balance,create_time') ->order('id' ,'desc') ->paginate($limit);