Commit 462be218 authored by zhangdongying's avatar zhangdongying

获取组合产品列表接口

parent 9b718d04
......@@ -151,4 +151,14 @@ interface ProductChildServiceInterface
* @return bool
*/
public function updateChildProducts(array $updates): bool;
/**
* 获取组合产品列表
*
* @param int $childProductId 仓库子SKU-ID
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost', 'weight', 'packs']
* @return array
*/
public function getPackListById(int $childProductId, array $columns = ['*'], array $relations = []): 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