diff --git a/app/controller/Share.php b/app/controller/Share.php index d996efb..6d45643 100644 --- a/app/controller/Share.php +++ b/app/controller/Share.php @@ -45,6 +45,7 @@ class Share } $users = []; $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(); if(!empty($list)){ $users = getAllUsersMessage($list,"user_id","id,nickname,avatar");