From 0225f801961e21e63092c13944439be01c519aae Mon Sep 17 00:00:00 2001 From: knowpia <9812993@qq.com> Date: Fri, 16 Sep 2022 10:13:32 +0800 Subject: [PATCH] fix bug --- app/controller/Donation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/Donation.php b/app/controller/Donation.php index c36a117..9546f33 100644 --- a/app/controller/Donation.php +++ b/app/controller/Donation.php @@ -65,6 +65,7 @@ class Donation $result['lastIndex'] = 0; $result['list'] = []; $list = Db::name("order")->where(['user_id'=>$userid,'status'=>1])->where($where)->order("id desc")->limit(env("page_count"))->select()->toArray(); + print_r($list); if(!empty($list)){ $appUser = getAllUsersMessage($list,"user_id","id,nickname"); $studentUser = $this->getStudents($list);