From 0d3410ff2f54fc8c20914ab7ea85494d4875021f Mon Sep 17 00:00:00 2001 From: lemon <15040771@qq.com> Date: Mon, 30 Aug 2021 17:40:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Agent.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Agent.php b/app/Models/Agent.php index 5ab58ad..1cdb5a0 100644 --- a/app/Models/Agent.php +++ b/app/Models/Agent.php @@ -9,6 +9,8 @@ class Agent extends BaseModel { use HasFactory, SoftDeletes; + protected $table = 'agents'; + public function agentInfo() { return $this->hasOne(AgentInfo::class);