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