类 MenuController
java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.engine.web.controller.MenuController
@RestController("engine-web-menu")
@RequestMapping("/engine/web/menu")
@ConditionalOnExpression("${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.service.enabled:true}")
public class MenuController
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
-
构造器详细资料
-
MenuController
public MenuController()
-
-
方法详细资料
-
list
@GetMapping("/list") @Permission("") public ApiResult<List<Map<String,Object>>> list(@RequestParam String uuid) throws TokenAuthenticationException, SQLException 获取菜单列表接口 根据传入的uuid获取对应的菜单列表- 参数:
uuid- 应用的唯一标识符,用于获取该应用下的菜单列表- 返回:
- 返回包含菜单列表的ApiResult对象
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常SQLException- 如果数据库查询出现异常,则抛出此异常
-
listByApp
@GetMapping("/listByApp") @Permission("") public ApiResult<List<Map<String,Object>>> listByApp(@RequestParam String refid) throws TokenAuthenticationException, BusiException, SQLException 根据应用获取列表 该接口通过应用ID获取对应的列表数据- 参数:
refid- 应用ID,用于标识和获取对应的应用数据- 返回:
- 返回ApiResult对象,其中包含了列表数据
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常BusiException- 如果业务处理过程中发生异常,则抛出此异常SQLException- 如果数据库操作发生异常,则抛出此异常
-