| | |
| | | * 查询分组列表 |
| | | */ |
| | | @ApiOperation("查询分组列表") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ArdRouteFolder ardRouteFolder) { |
| | | //startPage(); |
| | |
| | | * 导出分组列表 |
| | | */ |
| | | @ApiOperation("导出分组列表") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:export')") |
| | | @Log(title = "分组", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArdRouteFolder ardRouteFolder) { |
| | |
| | | * 获取分组详细信息 |
| | | */ |
| | | @ApiOperation("获取分组详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return success(ardRouteFolderService.selectArdRouteFolderById(id)); |
| | |
| | | * 新增分组 |
| | | */ |
| | | @ApiOperation("新增分组") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:add')") |
| | | @Log(title = "分组", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArdRouteFolder ardRouteFolder) { |
| | |
| | | * 修改分组 |
| | | */ |
| | | @ApiOperation("修改分组") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:edit')") |
| | | @Log(title = "分组", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArdRouteFolder ardRouteFolder) { |
| | |
| | | * 删除分组 |
| | | */ |
| | | @ApiOperation("删除分组") |
| | | //@PreAuthorize("@ss.hasPermi('route:folder:remove')") |
| | | @Log(title = "分组", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) { |