feat: #10000 商品下载优化

This commit is contained in:
赵世界 2023-01-29 13:31:43 +08:00
parent 011cbec842
commit 8f3ced4c28

View File

@ -16,7 +16,6 @@ class BusinessGoodsSku extends Model
]; ];
protected $hidden = [ protected $hidden = [
'self_sku_id',
'activity_no', 'activity_no',
'goods_desc', 'goods_desc',
'goods_image_list', 'goods_image_list',
@ -24,12 +23,9 @@ class BusinessGoodsSku extends Model
'limit_buy', 'limit_buy',
'market_price', 'market_price',
'update_time', 'update_time',
'goods_purchase_price',
'price_in_fen', 'price_in_fen',
'quantity', 'quantity',
'goods_purchase_price', 'goods_purchase_price',
'price_in_fen',
'quantity',
'quantity_type', 'quantity_type',
'reserve_quantity', 'reserve_quantity',
'sold_quantity', 'sold_quantity',
@ -43,29 +39,26 @@ class BusinessGoodsSku extends Model
protected $fillable = [ protected $fillable = [
'shop_id', 'shop_id',
'business_order_id', 'activity_no',
'already_cancel_number', 'update_time',
'cancel_status', 'create_time',
'category_name', 'category_name',
'external_sku_id', 'external_sku_id',
'goods_amount',
'goods_cost_price',
'goods_id', 'goods_id',
'goods_name', 'goods_name',
'goods_number',
'goods_price',
'goods_purchase_price', 'goods_purchase_price',
'goods_specification',
'help_sell_amount',
'is_supplier',
'need_verification_number',
'shipping_status',
'sku_id', 'sku_id',
'sub_order_sn',
'theoretically_refund_amount',
'thumb_url', '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() public function shop()