Commit 6c3ee77b authored by 王源's avatar 王源 🎧

添加获取鉴权的用户id列表

parent 90b900d7
...@@ -47,4 +47,11 @@ interface AccessServiceInterface ...@@ -47,4 +47,11 @@ interface AccessServiceInterface
*/ */
public function getPositions($userId, $tree = false, $withUser = false); public function getPositions($userId, $tree = false, $withUser = false);
/**
* 获取鉴权的用户id列表
* @param int $userId 当前用户id
* @return array|string 如果是全部用户返回 'all'字符串
*/
public function getUserIds($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