| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取当前模块下的子模块 |
| | | * @param parentId |
| | | * @param modeType |
| | | * @return |
| | | */ |
| | | @GetMapping("/getSysModelAuthTreeMenuByPID") |
| | | public BaseResult<List<MenuVO>> getSysModelAuthTreeMenuByPID(String parentId, String modeType) { |
| | | try { |
| | | return BaseResult.dataList(functionQueryService.getSysModelAuthTreeMenuByPID(parentId,modeType,true)); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | String errorMsg = "查询子模块时出现错误,原因:"+ VciBaseUtil.getExceptionMessage(e); |
| | | logger.error(errorMsg); |
| | | throw new VciBaseException(errorMsg); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 添加模块 |
| | | * @param menuVO |