Commit 57510205 authored by 王源's avatar 王源 🎧

编写通过颜色和尺码id获取平台子产品数组RPC方法;

编写通过颜色和尺码id获取平台组合子产品数组RPC方法;
parent 994bd8cc
......@@ -80,4 +80,27 @@ interface PlatformProductChildServiceInterface
*/
public function getListByProductIds($productId, $siteId = null, array $relations = [], $columns = ['*']);
/**
* 通过颜色和尺码id获取平台子产品数组
* @param $productId
* @param $colorId
* @param $sizeId
* @param $siteId
* @param array $relations 平台子产品的关联关系,支持:["platform_product","product_child","weight","packs"]
* @return array
* @author Zero
*/
public function getListByColorSizeIds($productId, $colorId, $sizeId, $siteId, $relations = []);
/**
* 通过颜色和尺码id获取平台组合子产品数组
* @param $productId
* @param $siteId
* @param array $colorIds
* @param $sizeId
* @return array
* @author Zero
*/
public function getPackListByColorSizeIds($productId, $siteId, $colorIds, $sizeId);
}
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