Commit 7f91c72c authored by zhangdongying's avatar zhangdongying

获取当前用户所在团队及上级团队所有人(包含负责人)RPC接口

parent 462be218
...@@ -25,5 +25,11 @@ interface TeamServiceInterface ...@@ -25,5 +25,11 @@ interface TeamServiceInterface
*/ */
public function getTeamByDepartmentIds($departmentIds, array $relations = [], array $columns = ['id', 'pid', "name", "leader_user_id", "department_id",'status','is_disabled']): array; public function getTeamByDepartmentIds($departmentIds, array $relations = [], array $columns = ['id', 'pid', "name", "leader_user_id", "department_id",'status','is_disabled']): array;
/**
* 获取当前用户所在团队及上级团队所有人(包含负责人)
*
* @param int $userId 用户ID
* @return array
*/
public function getSelfAndSuperiorTeamUsers(int $userId): 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