类 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
  • 构造器详细资料

    • 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异常