@RestController(value="engine-web-tenant")
@RequestMapping(value="/engine/web/tenant")
@ConditionalOnExpression(value="${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.service.enabled:true}")
public class TenantController
extends BaseController
request, response| 构造器和说明 |
|---|
TenantController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult<Pager<Map<String,Object>>> |
page()
获取角色列表接口
该接口用于获取当前租户下的所有角色列表,返回结果为ApiResult包装的List类型数据
|
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, success, success, success, success, validateToken@GetMapping(value="/page") @Permission(value="") public ApiResult<Pager<Map<String,Object>>> page() throws SQLException, TokenAuthenticationException
SQLException - 如果数据库查询出现异常,则抛出SQLExceptionTokenAuthenticationException - 如果令牌认证失败,则抛出TokenAuthenticationExceptionCopyright © 2026. All rights reserved.