liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlowController.java
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼流程列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlow ivrSceneFlow)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflow:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneFlow ivrSceneFlow)
    {
        startPage();
        List<IvrSceneFlow> list = ivrSceneFlowService.selectIvrSceneFlowList(ivrSceneFlow);
@@ -49,7 +49,7 @@
    /**
     * 导出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)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼流程详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflow:query')")
    @GetMapping(value = "/{flowid}")
    public AjaxResult getInfo(@PathVariable("flowid") Long flowid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:add')")
    //@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));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:edit')")
    //@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));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:remove')")
    //@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));