| | |
| | | * 查询AI外呼流程列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlow ivrSceneFlow) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlow> list = ivrSceneFlowService.selectIvrSceneFlowList(ivrSceneFlow); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:add')") |
| | | @Log(title = "AI外呼流程", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | return toAjax(ivrSceneFlowService.insertIvrSceneFlow(ivrSceneFlow)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:edit')") |
| | | @Log(title = "AI外呼流程", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | return toAjax(ivrSceneFlowService.updateIvrSceneFlow(ivrSceneFlow)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:remove')") |
| | | @Log(title = "AI外呼流程", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{flowids}") |
| | | @GetMapping("/remove/{flowids}") |
| | | public AjaxResult remove(@PathVariable Long[] flowids) |
| | | { |
| | | return toAjax(ivrSceneFlowService.deleteIvrSceneFlowByFlowids(flowids)); |