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