| | |
| | | import com.iailab.module.system.controller.admin.app.vo.AppPageReqVO; |
| | | import com.iailab.module.system.controller.admin.app.vo.AppRespVO; |
| | | import com.iailab.module.system.controller.admin.app.vo.AppSaveReqVO; |
| | | import com.iailab.module.system.controller.admin.auth.vo.AuthPermissionInfoRespVO; |
| | | import com.iailab.module.system.dal.dataobject.app.AppDO; |
| | | import com.iailab.module.system.service.app.AppService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | |
| | | return success(BeanUtils.toBean(appDOS, AppRespVO.class)); |
| | | } |
| | | |
| | | // @GetMapping("/getAppMenu") |
| | | // @Operation(summary = "获得应用菜单列表") |
| | | // @PreAuthorize("@ss.hasPermission('system:app-menu:query')") |
| | | // @Parameter(name = "id", description = "ID", required = true, example = "1024") |
| | | // public CommonResult<List<AppRespVO>> getAppMenu(@RequestParam("id") Long id) { |
| | | // List<AppMenuRespDTO> appDOS = appService.getAppMenu(id); |
| | | // return success(BeanUtils.toBean(appDOS, AppRespVO.class)); |
| | | // } |
| | | @GetMapping("/getAppMenu") |
| | | @Operation(summary = "获得应用菜单列表") |
| | | @PreAuthorize("@ss.hasPermission('system:app-menu:query')") |
| | | @Parameter(name = "id", description = "ID", required = true, example = "1024") |
| | | public CommonResult<List<AppRespVO>> getAppMenu(@RequestParam("id") Long id) { |
| | | List<AuthPermissionInfoRespVO.MenuVO> appDOS = appService.getAppMenu(id); |
| | | return success(BeanUtils.toBean(appDOS, AppRespVO.class)); |
| | | } |
| | | |
| | | @GetMapping("/export-excel") |
| | | @Operation(summary = "导出租户 Excel") |