liusheng
2024-07-30 1c8b2be08e6c7655bab6d8a99f15b883768f0d38
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlowController.java
@@ -38,8 +38,8 @@
     * 查询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);
@@ -74,7 +74,7 @@
     */
    @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));
@@ -85,7 +85,7 @@
     */
    @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));
@@ -96,7 +96,7 @@
     */
    @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));