| | |
| | | |
| | | /** |
| | | * AI外呼执行配置Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-06 |
| | | */ |
| | |
| | | /** |
| | | * 查询AI外呼执行配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | | { |
| | |
| | | /** |
| | | * 导出AI外呼执行配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:export')") |
| | | @Log(title = "AI外呼执行配置", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | |
| | | /** |
| | | * 获取AI外呼执行配置详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:query')") |
| | | @GetMapping(value = "/{scenecfgid}") |
| | | public AjaxResult getInfo(@PathVariable("scenecfgid") Long scenecfgid) |
| | | { |
| | |
| | | /** |
| | | * 新增AI外呼执行配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:add')") |
| | | @Log(title = "AI外呼执行配置", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | |
| | | /** |
| | | * 修改AI外呼执行配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:edit')") |
| | | @Log(title = "AI外呼执行配置", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | |
| | | /** |
| | | * 删除AI外呼执行配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:remove')") |
| | | @Log(title = "AI外呼执行配置", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{scenecfgids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenecfgids) |