Commit 5b7633ca authored by 姜克保's avatar 姜克保

添加批量获取产品信息rpc

parent e6d1fe2d
......@@ -12,12 +12,20 @@ interface MagentoProductServiceInterface
{
/**
* 通过magento子产品的属性获取仓库产品信息
* 通过magento子产品的属性获取仓库单个产品信息
* @param string $platformProductSku magento 平台主sku
* @param string $color 颜色
* @param string $size 尺码
* @return array
*/
public function getChildrenByAttributes(string $platformProductSku, string $color, string $size): array;
public function getChildByAttributes(string $platformProductSku, string $color, string $size): array;
/**
* 通过magento子产品的属性获取仓库批量产品信息
* @param array $attributes
* [['platform_product_sku' => $platformProductSku, 'color' => $color, 'size' => $size]]
* @return array
*/
public function getChildrenByAttributes(array $attributes): array;
}
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