Commit b42feaa1 authored by 秦俊坤's avatar 秦俊坤

新增判断是否是管理员接口

parent 1aa70c8c
......@@ -71,4 +71,12 @@ interface AuthenticationInterface
* @return array
*/
public function leadTeamIdsByUsers($userIds);
/**
* 判断是否是管理员
* @param $userId
* @return bool
*/
public function isAdmin($userId): bool;
}
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