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

基础信息rpc添加通过id数组获取国家区域数组

parent 1c23d31d
...@@ -36,6 +36,14 @@ interface BaseInfoServiceInterface ...@@ -36,6 +36,14 @@ interface BaseInfoServiceInterface
*/ */
public function getCountryListByIdList(array $idList, array $columns = ['*']): array; public function getCountryListByIdList(array $idList, array $columns = ['*']): array;
/**
* 通过id数组获取国家区域数组
* @param array $ids 默认去重
* @param array $relations ['country'] 可关联国家数据
* @return array 默认keyBY('id')
*/
public function getCountryAreaListByIdList(array $ids, array $relations = []): array;
/** /**
* 通过id数组获取团队数组 * 通过id数组获取团队数组
* @param array $idList 默认去重 * @param array $idList 默认去重
......
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