zyh 3 weeks ago
parent 437bc6ca6e
commit 040bb4c2e8
  1. 2
      app/store/model/sharp/Goods.php

@ -121,7 +121,7 @@ class Goods extends SharpGoodsModel
// 添加商品 // 添加商品
$this->save($data); $this->save($data);
// 更新商品sku信息 // 更新商品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; return true;
} }

Loading…
Cancel
Save