Commit 7f5609af authored by zhangdongying's avatar zhangdongying

feat: RPC新增获取用户权限名称列表接口

parent 98fd0a83
......@@ -79,4 +79,12 @@ interface AuthenticationInterface
* @return bool
*/
public function isAdmin($userId): bool;
/**
* 获取用户对应权限角色名称列表
* @param $userId
* @return array
*/
public function getUserRoleNames($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