Commit 94b8b160 by liumengfei

修改批量上传产品接口

parent 222c5b16
......@@ -621,7 +621,7 @@ class ProductRepository implements \Joshine\Catalog\Api\ProductRepositoryInterfa
}
$product_id = $this->save($this->productApi);
$ids[] = ["$sku"=>$product_id];
$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