| | |
| | | /** |
| | | * 查询AI外呼全局配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | |
| | | /** |
| | | * 导出AI外呼全局配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:export')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | |
| | | /** |
| | | * 获取AI外呼全局配置详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:query')") |
| | | @GetMapping(value = "/{gblconfigid}") |
| | | public AjaxResult getInfo(@PathVariable("gblconfigid") Long gblconfigid) |
| | | { |
| | |
| | | /** |
| | | * 新增AI外呼全局配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:add')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | |
| | | /** |
| | | * 修改AI外呼全局配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:edit')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | |
| | | /** |
| | | * 删除AI外呼全局配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:remove')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{gblconfigids}") |
| | | public AjaxResult remove(@PathVariable Long[] gblconfigids) |