类 OrgController
java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.engine.web.controller.OrgController
@RestController("engine-web-org-select")
@RequestMapping("/engine/web/org")
@ConditionalOnExpression("${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.service.enabled:true}")
public class OrgController
extends BaseController
组织机构Tree下拉选择
- 从以下版本开始:
- 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
-
构造器详细资料
-
OrgController
public OrgController()
-
-
方法详细资料
-
list
@GetMapping("/list") @Permission("") public ApiResult<List<Map<String,Object>>> list() throws TokenAuthenticationException, SQLException获取组织列表接口 该接口用于获取当前租户下的组织列表,返回结果为ApiResult包装的List类型数据- 返回:
- ApiResult无效输入:'<'List无效输入:'<'Map无效输入:'<'String, Object>>> 包含组织列表的ApiResult对象
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出TokenAuthenticationException异常SQLException- 如果数据库查询出现异常,则抛出SQLException异常
-