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