更新发布商品
This commit is contained in:
parent
378c784590
commit
55fa14cc11
@ -239,7 +239,6 @@ class ProductRepository extends BaseRepository
|
||||
$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['cate'] = '';
|
||||
$settleParams['attr'] = $this->setAttr($data['attr'], $result->product_id);
|
||||
if (in_array($productType, [0, 98, 99])) app()->make(ParameterValueRepository::class)->create($result->product_id, $data['params'] ?? [],$data['mer_id']);
|
||||
$this->save($result->product_id, $settleParams, $content,$product,$productType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user