| | |
| | | * 查询AI意图库分类列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | startPage(); |
| | | List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')") |
| | | @Log(title = "AI意图库分类", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.insertIvrLibIntentcategory(ivrLibIntentcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')") |
| | | @Log(title = "AI意图库分类", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.updateIvrLibIntentcategory(ivrLibIntentcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')") |
| | | @Log(title = "AI意图库分类", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{intertcatids}") |
| | | @GetMapping("/remove/{intertcatids}") |
| | | public AjaxResult remove(@PathVariable Long[] intertcatids) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.deleteIvrLibIntentcategoryByIntertcatids(intertcatids)); |