master
cody 11 months ago
parent 604ac3ef6e
commit bd3ee71c88

@ -78,6 +78,11 @@ class Visit extends SoftDeletesModel
return $this->belongsTo(Admin::class, 'accept_admin_id'); return $this->belongsTo(Admin::class, 'accept_admin_id');
} }
public function admin()
{
return $this->belongsTo(Admin::class, 'admin_id');
}
/** /**
* 关联收货人 * 关联收货人
*/ */

Loading…
Cancel
Save