Commit 53d170b3 authored by sugar's avatar sugar

圈子

parent 756953d8
Pipeline #757 canceled with stages
...@@ -76,6 +76,7 @@ class Family extends Api ...@@ -76,6 +76,7 @@ class Family extends Api
$FamilyPeople = FamilyPeopleModel::dataList(['user_id'=>$this->auth->id]); $FamilyPeople = FamilyPeopleModel::dataList(['user_id'=>$this->auth->id]);
$arr = []; $arr = [];
foreach ($FamilyPeople as $key=>$val){ foreach ($FamilyPeople as $key=>$val){
dump($val['id']);
$FamilyTree=FamilyModel::myFamilyTreeList("ft.people_id = " . $val['id']); $FamilyTree=FamilyModel::myFamilyTreeList("ft.people_id = " . $val['id']);
dump($FamilyTree); dump($FamilyTree);
$FamilyTreeMate=FamilyModel::myFamilyTreeMateList("ftm.people_id = " . $val['id']); $FamilyTreeMate=FamilyModel::myFamilyTreeMateList("ftm.people_id = " . $val['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