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