Commit 80a40f66 authored by 王源's avatar 王源 🎧

Merge branch 'rpc/product' into test

parents c87c38e2 57510205
...@@ -80,4 +80,27 @@ interface PlatformProductChildServiceInterface ...@@ -80,4 +80,27 @@ interface PlatformProductChildServiceInterface
*/ */
public function getListByProductIds($productId, $siteId = null, array $relations = [], $columns = ['*']); 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