| | |
| | | * 查询AI外呼流程节点列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") |
| | | @Log(title = "AI外呼流程节点", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") |
| | | @Log(title = "AI外呼流程节点", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')") |
| | | @Log(title = "AI外呼流程节点", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{flownodeids}") |
| | | @GetMapping("/remove/{flownodeids}") |
| | | public AjaxResult remove(@PathVariable Long[] flownodeids) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids)); |