From 9e718d457379fee5a8f85215d1154062158af9a6 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Sun, 27 Sep 2020 14:10:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=A2=9E=E5=8A=A0=E4=B8=89?= =?UTF-8?q?=E7=BA=A7=E5=88=86=E7=B1=BB=E6=89=B9=E9=87=8F=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/v3/Goods.php | 1 + app/Service/v3/Implementations/GoodsService.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/v3/Goods.php b/app/Model/v3/Goods.php index 74558a1..13e4411 100644 --- a/app/Model/v3/Goods.php +++ b/app/Model/v3/Goods.php @@ -51,6 +51,7 @@ class Goods extends Model 'store_id', 'name', 'category_id', + 'goods_category_id', 'goods_unit', 'price', 'original_price', diff --git a/app/Service/v3/Implementations/GoodsService.php b/app/Service/v3/Implementations/GoodsService.php index fb8e24e..990a07c 100644 --- a/app/Service/v3/Implementations/GoodsService.php +++ b/app/Service/v3/Implementations/GoodsService.php @@ -102,7 +102,6 @@ class GoodsService implements GoodsServiceInterface public function update($params) { - var_dump($params); $goods = Goods::query()->withoutGlobalScope('normal') ->where( [