From 040bb4c2e8ee1301ab904e5da34b161a045f474d Mon Sep 17 00:00:00 2001 From: zyh Date: Fri, 8 Nov 2024 18:13:42 +0800 Subject: [PATCH] 1 --- app/store/model/sharp/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/model/sharp/Goods.php b/app/store/model/sharp/Goods.php index 82f26a00..cc8e6120 100644 --- a/app/store/model/sharp/Goods.php +++ b/app/store/model/sharp/Goods.php @@ -121,7 +121,7 @@ class Goods extends SharpGoodsModel // 添加商品 $this->save($data); // 更新商品sku信息 - GoodsSkuModel::add((int)$this['sharp_goods_id'], $this['spec_type'], $data['newSkuList']); + GoodsSkuModel::add((int)$this['sharp_goods_id'], $this['spec_type'], $data['newSkuList'],$data['store_id']); }); return true; }