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