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