This commit is contained in:
knowpia
2022-09-19 16:37:03 +08:00
parent 99a5ba73d2
commit 9e7ed021b1

View File

@@ -46,9 +46,8 @@ class Share
$users = [];
$result['lastIndex'] = 0;
$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");
print_r($users);
}
foreach ($list as $vo) {
$result['lastIndex'] = $vo['id'];