| | |
| | | /** |
| | | * 查询AI外呼话术模块列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | | { |
| | |
| | | /** |
| | | * 导出AI外呼话术模块列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:export')") |
| | | @Log(title = "AI外呼话术模块", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrSceneScriptmodel ivrSceneScriptmodel) |
| | |
| | | /** |
| | | * 获取AI外呼话术模块详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:query')") |
| | | @GetMapping(value = "/{scenemodid}") |
| | | public AjaxResult getInfo(@PathVariable("scenemodid") Long scenemodid) |
| | | { |
| | |
| | | /** |
| | | * 新增AI外呼话术模块 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:add')") |
| | | @Log(title = "AI外呼话术模块", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | |
| | | /** |
| | | * 修改AI外呼话术模块 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:edit')") |
| | | @Log(title = "AI外呼话术模块", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | |
| | | /** |
| | | * 删除AI外呼话术模块 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:remove')") |
| | | @Log(title = "AI外呼话术模块", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{scenemodids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenemodids) |