fix bug
This commit is contained in:
@@ -97,10 +97,10 @@ class Donation
|
||||
if (empty($StudentIds)) {
|
||||
return [];
|
||||
}
|
||||
print_r($StudentIds);
|
||||
$StudentIds = array_unique($StudentIds);
|
||||
$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();
|
||||
print_r($UserLists);
|
||||
foreach ($UserLists as $vo) {
|
||||
$getAllStudentsMessage[$vo['id']] = $vo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user