Commit d232ee0b authored by chentianyu's avatar chentianyu

备货计划,通过sku列表获取仓库产品信息

parent 68abcc10
...@@ -34,15 +34,12 @@ interface PlatformProductServiceInterface ...@@ -34,15 +34,12 @@ interface PlatformProductServiceInterface
public function getByIdList(array $idList, array $relations = [], $columns = ['*']): array; public function getByIdList(array $idList, array $relations = [], $columns = ['*']): array;
/** /**
* 通过sku列表获取平台产品数组 * 通过sku列表获取仓库产品信息
* @param array $skuList 平台产品sku的列表, 默认去重 * @param array $skuList
* @param array $relations 平台产品的关联关系, * @return array
* 支持:["status","product","amazon_warehouse","platform_product_children","brand","category","ingredient","product_name","images","price_info","property"] * @author chentianyu
* @param array $columns 平台产品表的字段,默认全部字段
* ['id', 'sku', 'product_id', 'name', 'team_id', 'site_id', 'price', 'currency_id', 'platform_product_status_id', 'creator_id', 'asin', 'amazon_warehouse_id', 'info_completed']
* @return array 默认keyBy('id')
*/ */
public function getBySkuList(array $skuList, array $relations = [], $columns = ['*']): array; public function getProductBySkuList(array $skuList): 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