From 39b1022c93b22037cabca01eaeda28e1130f51ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Tue, 1 Nov 2022 09:39:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#10000=20=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/Business/KuaiTuanTuan/Goods.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Business/KuaiTuanTuan/Goods.php b/app/Services/Business/KuaiTuanTuan/Goods.php index a7eed1b..7c73f5e 100644 --- a/app/Services/Business/KuaiTuanTuan/Goods.php +++ b/app/Services/Business/KuaiTuanTuan/Goods.php @@ -31,8 +31,8 @@ class Goods $businessGood['goods_image_list'] = json_encode($businessGood['goods_image_list'], 256); foreach ($skuList as $sku) { $sku['spec_list'] = json_encode($sku['spec_list'], 256); - if ((int)$businessGood['quantity_type']) { - $businessGood['is_sync'] = 0; + if ((int)$sku['quantity_type']) { + $sku['is_sync'] = 0; } $data = array_merge($businessGood, $sku); $businessGoodSku = BusinessGoodsSku::firstOrNew(