Commit 3eb57671 authored by 王源's avatar 王源 🎧

添加通过name列表获取应用数组

parent 4f77e593
......@@ -37,4 +37,13 @@ interface AppServiceInterface
*/
public function getByIdList(array $idList, array $relations = [], array $columns = ['id', 'title']): array;
/**
* 通过name列表获取应用数组
* @param array $nameList 默认去重
* @param array $relations 关联关系只有['group']
* @param array $columns 默认展示id和title,可传['title', 'name', 'entry', 'prefix', 'group_id', 'is_inside', 'is_active', 'icon', 'desc', 'weight']
* @return array 默认keyBy('id')
*/
public function getByNameList(array $nameList, array $relations = [], array $columns = ['id', 'title', 'name']): 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