| | |
| | | * 查询模板分类列表 |
| | | */ |
| | | @ApiOperation("查询模板分类列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:list')") |
| | | @PostMapping("/selectIvrLibaTemplateAssortList") |
| | | public TableDataInfo selectIvrLibaTemplateAssortList(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | // startPage(); |
| | |
| | | * 导出模板分类列表 |
| | | */ |
| | | @ApiOperation("导出模板分类列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:export')") |
| | | @Log(title = "模板分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | |
| | | * 获取模板分类详细信息 |
| | | */ |
| | | @ApiOperation("获取模板分类详细信息") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTemplateAssortService.selectIvrLibaTemplateAssortById(id)); |
| | |
| | | * 新增模板分类 |
| | | */ |
| | | @ApiOperation("新增模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "模板分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | |
| | | /** |
| | | * 新增模板分类树 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "模板分类", businessType = BusinessType.INSERT) |
| | | @ApiOperation("新增模板分类树") |
| | | @PostMapping("/addtree") |
| | |
| | | * 修改模板分类 |
| | | */ |
| | | @ApiOperation("修改模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:edit')") |
| | | @Log(title = "模板分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | |
| | | * 删除模板分类 |
| | | */ |
| | | @ApiOperation("删除模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:assort:remove')") |
| | | @Log(title = "模板分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |