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