| | |
| | | /** |
| | | * 查询AI话术库分类列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | | { |
| | |
| | | /** |
| | | * 导出AI话术库分类列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:export')") |
| | | @Log(title = "AI话术库分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibScriptcategory ivrLibScriptcategory) |
| | |
| | | /** |
| | | * 获取AI话术库分类详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:query')") |
| | | @GetMapping(value = "/{categoryid}") |
| | | public AjaxResult getInfo(@PathVariable("categoryid") Long categoryid) |
| | | { |
| | |
| | | /** |
| | | * 新增AI话术库分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')") |
| | | @Log(title = "AI话术库分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | |
| | | /** |
| | | * 修改AI话术库分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')") |
| | | @Log(title = "AI话术库分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | |
| | | /** |
| | | * 删除AI话术库分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')") |
| | | @Log(title = "AI话术库分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{categoryids}") |
| | | public AjaxResult remove(@PathVariable Long[] categoryids) |