Commit 15ce2546 by liumengfei

优化接口

parent fe6802e3
......@@ -620,7 +620,7 @@ class ProductRepository implements \Joshine\Catalog\Api\ProductRepositoryInterfa
$this->productApi->setMediaGalleryEntries($images);
}
$product_id = $this->save($this->productApi);
$product_id = $this->save($this->productApi,true);
$ids[] = ["id"=>(int)$product_id,"sku"=>$sku];
}
return $ids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment