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( [