| | |
| | | * 查询AI外呼全局配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneGlobalconfig> list = ivrSceneGlobalconfigService.selectIvrSceneGlobalconfigList(ivrSceneGlobalconfig); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:add')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.insertIvrSceneGlobalconfig(ivrSceneGlobalconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:edit')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.updateIvrSceneGlobalconfig(ivrSceneGlobalconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:remove')") |
| | | @Log(title = "AI外呼全局配置", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{gblconfigids}") |
| | | @GetMapping("/remove/{gblconfigids}") |
| | | public AjaxResult remove(@PathVariable Long[] gblconfigids) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.deleteIvrSceneGlobalconfigByGblconfigids(gblconfigids)); |