fix bug
This commit is contained in:
@@ -26,7 +26,7 @@ class Donation
|
|||||||
$result['userinfo'] = $userinfo;
|
$result['userinfo'] = $userinfo;
|
||||||
}
|
}
|
||||||
$result['donation_list'] = [];
|
$result['donation_list'] = [];
|
||||||
$list = Db::name("order")->where(['student_id' => $student_id,"status"=>1])->select()->toArray();
|
$list = Db::name("order")->where(['student_id' => $student_id,"status"=>1])->order("id desc")->select()->toArray();
|
||||||
$users = getAllUsersMessage($list,"user_id","id,nickname,avatar,shiyou_id");
|
$users = getAllUsersMessage($list,"user_id","id,nickname,avatar,shiyou_id");
|
||||||
|
|
||||||
foreach($list as $vo){
|
foreach($list as $vo){
|
||||||
|
|||||||
Reference in New Issue
Block a user