diff --git a/app/controller/Donation.php b/app/controller/Donation.php index 64cd1e4..7ac3a86 100644 --- a/app/controller/Donation.php +++ b/app/controller/Donation.php @@ -65,7 +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);