Commit c0bfd796 authored by Liu lu's avatar Liu lu

Merge branch 'develop' of http://git.huaperfect.com/without_auth/meibuyu-rpc into develop

parents 3dca0105 8aaac639
......@@ -268,5 +268,14 @@ interface ProductServiceInterface
*/
public function getProductNamesByWhere(array $where, array $select = ['id'], array $limitIds = null): array;
/**
* 获取ProductChild产品数组
* @param array $where
* @param array $whereIn
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost', 'weight', 'packs']
* @return array 默认keyBy('id')
*/
public function getProductChildByWhere(array $where, array $whereIn = [], 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