| | |
| | | * 查询AI外呼场景管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrScene ivrScene) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrScene ivrScene) |
| | | { |
| | | startPage(); |
| | | List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:add')") |
| | | @Log(title = "AI外呼场景管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrScene ivrScene) |
| | | { |
| | | return toAjax(ivrSceneService.insertIvrScene(ivrScene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:edit')") |
| | | @Log(title = "AI外呼场景管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrScene ivrScene) |
| | | { |
| | | return toAjax(ivrSceneService.updateIvrScene(ivrScene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:remove')") |
| | | @Log(title = "AI外呼场景管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{sceneids}") |
| | | @GetMapping("/remove/{sceneids}") |
| | | public AjaxResult remove(@PathVariable Long[] sceneids) |
| | | { |
| | | return toAjax(ivrSceneService.deleteIvrSceneBySceneids(sceneids)); |