Commit 9b5995d7 authored by Liu lu's avatar Liu lu

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

parents ccdb9c75 c7243e25
......@@ -55,4 +55,13 @@ interface PlatformProductServiceInterface
*/
public function amazonWarehouses();
/**
* 根据产品ID获取列表
*
* @param array $productIds 仓库主产品ID数组
* @param array $columns 列名数组
* @param array $relations 平台产品的关联关系
* @return array keyBy('product_id')
*/
public function getListByProductIds(array $productIds, array $columns = ['*'], array $relations = []): array;
}
......@@ -28,4 +28,13 @@ interface TeamProductServiceInterface
* @return array keyBy('team_id')
*/
public function getChildProductListByTeamIds(array $teamIds, array $childProductIds = []): array;
/**
* 根据产品ID获取列表
*
* @param array $productIds 仓库主产品ID数组
* @param array $columns 列名数组
* @return array keyBy('product_id')
*/
public function getListByProductIds(array $productIds, array $columns = ['*']): array;
}
\ No newline at end of file
......@@ -28,4 +28,14 @@ interface ChannelAndCompanyInterface
* @return array
*/
public function getCompanyByIds(array $companyIds, $status = 1): array;
/**
* 获取渠道路线列表(根据国家二字码)
*
* @param int $channelId 渠道ID
* @param string $countryCode 国家二字码
* @param array $columns 列名
* @return array|null
*/
public function getChannelRouteByCountryCode(int $channelId, string $countryCode, array $columns = ['*']);
}
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