更新商品上传

This commit is contained in:
yaooo 2023-09-28 09:57:25 +08:00
parent a1623bc78b
commit 6f4e855832

View File

@ -237,6 +237,7 @@ class ProductRepository extends BaseRepository
$activity_id = 0;
$product['product_type'] = $productType;
$result = $this->dao->create($product);
$settleParams = $this->setAttrValue($data, $result->product_id, $productType, 0,$data['mer_id']);
// $settleParams['cate'] = $this->setMerCate($data['mer_cate_id'], $result->product_id, $data['mer_id']);
$settleParams['attr'] = $this->setAttr($data['attr'], $result->product_id);