| | |
| | | /** |
| | | * 查询AI服务场景管理分类列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrScenecategory ivrScenecategory) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出AI服务场景管理分类列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:export')") |
| | | @Log(title = "AI服务场景管理分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrScenecategory ivrScenecategory) { |
| | |
| | | /** |
| | | * 获取AI服务场景管理分类详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:query')") |
| | | @GetMapping(value = "/{scenecatid}") |
| | | public AjaxResult getInfo(@PathVariable("scenecatid") Long scenecatid) { |
| | | return success(ivrScenecategoryService.selectIvrScenecategoryByScenecatid(scenecatid)); |
| | |
| | | /** |
| | | * 新增AI服务场景管理分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:add')") |
| | | @Log(title = "AI服务场景管理分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrScenecategory ivrScenecategory) { |
| | |
| | | /** |
| | | * 修改AI服务场景管理分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:edit')") |
| | | @Log(title = "AI服务场景管理分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrScenecategory ivrScenecategory) { |
| | |
| | | /** |
| | | * 删除AI服务场景管理分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:remove')") |
| | | @Log(title = "AI服务场景管理分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{scenecatids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenecatids) { |