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

调整通过sku列表获取子产品列表

parent 495acb56
......@@ -32,10 +32,11 @@ interface ProductChildServiceInterface
/**
* 通过sku列表获取子产品列表
* @param array $skuList 默认去重
* @param array $columns
* @param array $columns 子SKU表的字段,默认返回id
* @param array $relations 子SKU的关联关系,可传入['color', 'size','brand', 'category', 'product_name', 'images', 'cost', 'weight']
* @return array 默认keyBy('child_sku')
*/
public function getListBySkuList(array $skuList, array $columns = ['id']);
public function getListBySkuList(array $skuList, array $columns = ['id'], array $relations = []);
/**
* 获取全部尺码列表
......
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