From 8f3ced4c284c75a027987afb49f4b73500e16e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Sun, 29 Jan 2023 13:31:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#10000=20=E5=95=86=E5=93=81=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/BusinessGoodsSku.php | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/app/Models/BusinessGoodsSku.php b/app/Models/BusinessGoodsSku.php index d9dc1fa..c01053f 100644 --- a/app/Models/BusinessGoodsSku.php +++ b/app/Models/BusinessGoodsSku.php @@ -16,7 +16,6 @@ class BusinessGoodsSku extends Model ]; protected $hidden = [ - 'self_sku_id', 'activity_no', 'goods_desc', 'goods_image_list', @@ -24,12 +23,9 @@ class BusinessGoodsSku extends Model 'limit_buy', 'market_price', 'update_time', - 'goods_purchase_price', 'price_in_fen', 'quantity', 'goods_purchase_price', - 'price_in_fen', - 'quantity', 'quantity_type', 'reserve_quantity', 'sold_quantity', @@ -43,29 +39,26 @@ class BusinessGoodsSku extends Model protected $fillable = [ 'shop_id', - 'business_order_id', - 'already_cancel_number', - 'cancel_status', + 'activity_no', + 'update_time', + 'create_time', 'category_name', 'external_sku_id', - 'goods_amount', - 'goods_cost_price', 'goods_id', 'goods_name', - 'goods_number', - 'goods_price', 'goods_purchase_price', - 'goods_specification', - 'help_sell_amount', - 'is_supplier', - 'need_verification_number', - 'shipping_status', 'sku_id', - 'sub_order_sn', - 'theoretically_refund_amount', 'thumb_url', - 'verification_number', - 'quantity_type' + 'quantity_type', + 'limit_buy', + 'goods_image_list', + 'quantity', + 'spec_list', + 'reserve_quantity', + 'total_quantity', + 'spec_name', + 'sold_quantity', + 'price_in_fen', ]; public function shop()