liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneScriptController.java
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼话术列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneScript ivrSceneScript)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneScript ivrSceneScript)
    {
        startPage();
        List<IvrSceneScript> list = ivrSceneScriptService.selectIvrSceneScriptList(ivrSceneScript);
@@ -49,7 +49,7 @@
    /**
     * 导出AI外呼话术列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:export')")
    @Log(title = "AI外呼话术", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneScript ivrSceneScript)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼话术详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:query')")
    @GetMapping(value = "/{scenescrid}")
    public AjaxResult getInfo(@PathVariable("scenescrid") Long scenescrid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:add')")
    @Log(title = "AI外呼话术", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrSceneScript ivrSceneScript)
    {
        return toAjax(ivrSceneScriptService.insertIvrSceneScript(ivrSceneScript));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:edit')")
    @Log(title = "AI外呼话术", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrSceneScript ivrSceneScript)
    {
        return toAjax(ivrSceneScriptService.updateIvrSceneScript(ivrSceneScript));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrscript:remove')")
    @Log(title = "AI外呼话术", businessType = BusinessType.DELETE)
   @DeleteMapping("/{scenescrids}")
   @GetMapping("/remove/{scenescrids}")
    public AjaxResult remove(@PathVariable Long[] scenescrids)
    {
        return toAjax(ivrSceneScriptService.deleteIvrSceneScriptByScenescrids(scenescrids));