From 96b556a1b7009fc23f0498e454ce3fb847980734 Mon Sep 17 00:00:00 2001 From: knowpia <9812993@qq.com> Date: Fri, 16 Sep 2022 10:26:43 +0800 Subject: [PATCH] fix bug --- app/controller/Donation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Donation.php b/app/controller/Donation.php index 82c9ed1..0e96ea9 100644 --- a/app/controller/Donation.php +++ b/app/controller/Donation.php @@ -99,7 +99,7 @@ class Donation } $StudentIds = array_unique($StudentIds); $getAllStudentsMessage = []; - $UserLists = Db::name("students")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray(); + $UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray(); foreach ($UserLists as $vo) { $getAllStudentsMessage[$vo['id']] = $vo; }