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