fix bug
This commit is contained in:
@@ -94,9 +94,10 @@ class Donation
|
|||||||
foreach ($list as $vo) {
|
foreach ($list as $vo) {
|
||||||
$StudentIds[] = $vo["student_id"];
|
$StudentIds[] = $vo["student_id"];
|
||||||
}
|
}
|
||||||
if (empty($UserIds)) {
|
if (empty($StudentIds)) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
print_r($StudentIds);
|
||||||
$StudentIds = array_unique($StudentIds);
|
$StudentIds = array_unique($StudentIds);
|
||||||
$getAllStudentsMessage = [];
|
$getAllStudentsMessage = [];
|
||||||
$UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray();
|
$UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user