Methods
(async) findRolesByUserID(ids) → {array.<object>}
- Source:
通过用户 id 获取 subject 对应的多个角色
Parameters:
Name | Type | Description |
---|---|---|
ids |
array.<(string|number)> | 角色id |
Returns:
- Type
- array.<object>
Name | Type | Description |
---|---|---|
ids |
array.<(string|number)> | 角色id |