fix bug
This commit is contained in:
@@ -66,10 +66,13 @@ class Donation
|
||||
$result['list'] = [];
|
||||
echo $userid;
|
||||
$list = Db::name("order")->where(['user_id'=>$userid,'status'=>1])->where($where)->order("id desc")->limit(env("page_count"))->select()->toArray();
|
||||
print_r($list);
|
||||
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"][] = [
|
||||
|
||||
Reference in New Issue
Block a user