Commit 234aa60b authored by 姜克保's avatar 姜克保

修改magento rpc 参数

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