Commit 11909631 authored by sugar's avatar sugar

姓名卡

parent 748048b0
...@@ -59,7 +59,7 @@ class Namecard extends Model ...@@ -59,7 +59,7 @@ class Namecard extends Model
public function pid(){ public function pid(){
return $this->belongsTo('app\admin\model\family\FamilyPeople','pid','user_id','','left')->setEagerlyType(0); return $this->belongsTo('app\admin\model\family\FamilyPeople','user_id','pid','','left')->setEagerlyType(0);
} }
public function user(){ public function user(){
......
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