Commit f356baf0 authored by sugar's avatar sugar

圈子

parent 0a216647
Pipeline #754 canceled with stages
......@@ -74,6 +74,7 @@ class Family extends Api
$data=FamilyModel::dataList(['create_user_id'=>$this->auth->id]);
}else {
$FamilyPeople = FamilyPeopleModel::dataList(['user_id'=>$this->auth->id]);
dump($FamilyPeople);die;
$arr = [];
foreach ($FamilyPeople as $key=>$val){
$FamilyTree=FamilyModel::myFamilyTreeList("ft.people_id = " . $val['id']);
......@@ -82,7 +83,6 @@ class Family extends Api
}
$data =array_unique(call_user_func_array("array_merge",$arr));
}
dump($data);die;
$arr = [];
foreach ($data as $key=>$val){
if($val['village_id']){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment