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