类 RoleController
java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.engine.web.controller.RoleController
@RestController("engine-web-role")
@RequestMapping("/engine/web/role")
@ConditionalOnExpression("${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.service.enabled:true}")
public class RoleController
extends BaseController
岗位管理
- 从以下版本开始:
- 2024/8/5 11:46
- 作者:
- AaronFung
-
字段概要
从类继承的字段 net.sohelp.boot.admin.core.base.BaseController
request, response -
构造器概要
构造器 -
方法概要
从类继承的方法 net.sohelp.boot.admin.core.base.BaseController
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, response, responseStream, success, success, success, success, validateToken
-
构造器详细资料
-
RoleController
public RoleController()
-
-
方法详细资料
-
list
@GetMapping("/list") @Permission("") public ApiResult<List<Map<String,Object>>> list() throws SQLException, TokenAuthenticationException获取角色列表接口 该接口用于获取当前租户下的所有角色列表,返回结果为ApiResult包装的List类型数据- 返回:
- ApiResult无效输入:'<'List无效输入:'<'Map无效输入:'<'String, Object>>> 包含角色列表的ApiResult对象
- 抛出:
SQLException- 如果数据库查询出现异常,则抛出SQLExceptionTokenAuthenticationException- 如果令牌认证失败,则抛出TokenAuthenticationException
-