Commit 0dcffa46 authored by 王源's avatar 王源 🎧

Merge branch 'user-rpc' into test

parents 81386d4e 13159a38
...@@ -11,6 +11,28 @@ namespace Meibuyu\Micro\Service\Interfaces\User; ...@@ -11,6 +11,28 @@ namespace Meibuyu\Micro\Service\Interfaces\User;
interface AccessServiceInterface interface AccessServiceInterface
{ {
/**
* 判断用户是否在业务部门(包括子部门)
* @param $inDeptIds
* @param $allDeptIds
* @return mixed
*/
public function inBusinessDepartment($inDeptIds, $allDeptIds);
/**
* 获取用户领导的部门id数组
* @param $userId
* @return array
*/
public function leadDeptIds($userId);
/**
* 获取用户领导的团队id数组
* @param $userId
* @return array
*/
public function leadTeamIds($userId);
/** /**
* 获取鉴权的团队 * 获取鉴权的团队
* @param $userId * @param $userId
......
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