fix bug
This commit is contained in:
@@ -45,6 +45,7 @@ class Share
|
|||||||
}
|
}
|
||||||
$users = [];
|
$users = [];
|
||||||
$result['lastIndex'] = 0;
|
$result['lastIndex'] = 0;
|
||||||
|
$result['count'] = Db::name("app_user_relation")->where("parent_id",$shiYou_id)->count();
|
||||||
$list = Db::name("app_user_relation")->where("parent_id",$shiYou_id)->where($where)->select()->toArray();
|
$list = Db::name("app_user_relation")->where("parent_id",$shiYou_id)->where($where)->select()->toArray();
|
||||||
if(!empty($list)){
|
if(!empty($list)){
|
||||||
$users = getAllUsersMessage($list,"user_id","id,nickname,avatar");
|
$users = getAllUsersMessage($list,"user_id","id,nickname,avatar");
|
||||||
|
|||||||
Reference in New Issue
Block a user