MyRoleRepository角色基础API

根据code查角色

http方法:未指定

请求URL:域名+/authorize/roles/findByCode

请求参数:

  • String code:角色code

返回:角色对象

获取不包含父的角色

http方法:未指定

请求URL:域名+/authorize/roles/findDirectChildRoles

请求参数:

  • String code:角色code

返回:角色对象

根据角色类型获取角色对象

http方法:未指定

请求URL:域名+/authorize/roles/findByType

请求参数:

  • String type:角色类型,如service、biz、org等

返回:角色对象

results matching ""

    No results matching ""

    results matching ""

      No results matching ""