From f38a24f83237676157ce2b6046bb6650f5077a2c Mon Sep 17 00:00:00 2001 From: liapples Date: Thu, 16 Sep 2021 09:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/AgentProduct.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Models/AgentProduct.php b/app/Models/AgentProduct.php index 04c9464..0d6fb99 100644 --- a/app/Models/AgentProduct.php +++ b/app/Models/AgentProduct.php @@ -22,11 +22,6 @@ class AgentProduct extends BaseModel return $this->hasMany(Coupon::class); } - public function fav() - { - return $this->hasOne(UserFav::class); - } - public function agent() { return $this->belongsTo(Agent::class);