From 2ab0c3cd806ec68081c836a214860a551209dd3c Mon Sep 17 00:00:00 2001 From: liapples Date: Fri, 13 Aug 2021 15:19:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0$this->timestamps=20=3D=20fal?= =?UTF-8?q?se;=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/AgentInfo.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/AgentInfo.php b/app/Models/AgentInfo.php index 4e3da3b..de6fbc6 100644 --- a/app/Models/AgentInfo.php +++ b/app/Models/AgentInfo.php @@ -7,4 +7,10 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; class AgentInfo extends BaseModel { use HasFactory; + + public function __construct(array $attributes = []) + { + parent::__construct($attributes); + $this->timestamps = false; + } }