fix bug
This commit is contained in:
@@ -92,14 +92,15 @@ class Help
|
||||
$result['lastIndex'] = 0;
|
||||
}
|
||||
|
||||
$users = getAllUsersMessage($list,'userid','id,nickname,avatar');
|
||||
$users = getAllUsersMessage($list,'userid','id,nickname,avatar,shiyou_id');
|
||||
|
||||
foreach($list as $vo){
|
||||
$result['list'][] = [
|
||||
"id"=>$vo['id'],
|
||||
"userid"=>$vo['userid'],
|
||||
"username"=>empty($users[$vo['userid']]['nickname'])?'':$users[$vo['userid']]['nickname'],
|
||||
"count"=>$vo['count']
|
||||
"count"=>$vo['count'],
|
||||
"identity"=>empty($users[$vo["user_id"]]['shiyou_id'])?1:0,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user