fix bug
This commit is contained in:
@@ -48,6 +48,7 @@ class Share
|
|||||||
$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");
|
||||||
|
print_r($users);
|
||||||
}
|
}
|
||||||
foreach ($list as $vo) {
|
foreach ($list as $vo) {
|
||||||
$result['lastIndex'] = $vo['id'];
|
$result['lastIndex'] = $vo['id'];
|
||||||
|
|||||||
Reference in New Issue
Block a user