From 7816e047b305c8d0544f28a8f9f288384aac1f4d Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Fri, 4 Sep 2020 18:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=8F=96=E6=B6=88=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/v3/Goods.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Model/v3/Goods.php b/app/Model/v3/Goods.php index 86533a4..4c71abc 100644 --- a/app/Model/v3/Goods.php +++ b/app/Model/v3/Goods.php @@ -55,10 +55,6 @@ class Goods extends Model 'noneffective_note', ]; - protected $visible = [ - 'id', 'cover_img', 'name', 'original_price', 'price', 'inventory', 'store_id', 'sales as total_sales' - ]; - protected function boot(): void { parent::boot();