| | |
| | | } |
| | | |
| | | /** |
| | | * 获取当前模块下的子模块 |
| | | * @param parentId |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | @GetMapping("/getSysModelTreeMenuByPID") |
| | | @VciUnCheckRight |
| | | public List<MenuVO> getSysModelTreeMenuByPID(String parentId) { |
| | | try { |
| | | return functionQueryService.getSysModelTreeMenuByPID(parentId,true); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | String errorMsg = "查询子模块时出现错误,原因:"+VciBaseUtil.getExceptionMessage(e); |
| | | logger.error(errorMsg); |
| | | throw new VciBaseException(errorMsg); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取当前用户的菜单 |
| | | * @param treeQueryObject 树查询对象 |
| | | * @return 树节点,出现错误会在异常处理器中统一返回Json |