Commit 8886172e authored by 王源's avatar 王源 🎧

添加获取鉴权的团队id数组RPC方法

parent 9ece69d5
......@@ -41,6 +41,15 @@ interface AccessServiceInterface
*/
public function getTeams($userId, $tree = false, $noBusiness = true);
/**
* 获取鉴权的团队id数组
* @param $userId
* @param bool $checkBusiness 是否验证业务部门(验证时,不是业务部门返回空团队;不验证时,不是业务部门返回all),默认不验证
* @return array|string 如果是全部团队返回'all'字符串
* @author Zero
*/
public function getTeamIds($userId, $checkBusiness = false);
/**
* 获取鉴权的团队带用户
* @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