From 24816ad00c5b9d8db22ac68636a46de42ca68834 Mon Sep 17 00:00:00 2001 From: knowpia <9812993@qq.com> Date: Fri, 16 Sep 2022 13:37:54 +0800 Subject: [PATCH] fix bug --- app/controller/Donation.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controller/Donation.php b/app/controller/Donation.php index 9862c0d..af09a06 100644 --- a/app/controller/Donation.php +++ b/app/controller/Donation.php @@ -69,7 +69,6 @@ class Donation if(!empty($list)){ $result['total'] = Db::name("order")->where(['user_id'=>$userid,'status'=>1])->where($where)->count(); - $list = $list->toArray(); $appUser = getAllUsersMessage($list,"user_id","id,nickname"); $studentUser = $this->getStudents($list); foreach ($list as $key => $vo) {