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