fix bug
This commit is contained in:
@@ -69,10 +69,6 @@ class Donation
|
||||
if(!empty($list)){
|
||||
$appUser = getAllUsersMessage($list,"user_id","id,nickname");
|
||||
$studentUser = $this->getStudents($list);
|
||||
|
||||
print_r($appUser);
|
||||
print_r($studentUser);
|
||||
|
||||
foreach ($list as $key => $vo) {
|
||||
$result['lastIndex'] = $vo['id'];
|
||||
$result["list"][] = [
|
||||
@@ -99,8 +95,7 @@ class Donation
|
||||
}
|
||||
$StudentIds = array_unique($StudentIds);
|
||||
$getAllStudentsMessage = [];
|
||||
$UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray();
|
||||
print_r($UserLists);
|
||||
$UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("id,nickname")->select()->toArray();
|
||||
foreach ($UserLists as $vo) {
|
||||
$getAllStudentsMessage[$vo['id']] = $vo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user