liusheng
2024-01-30 7ae67ba965ea680407ae21fedbd035d43ce8c313
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
@@ -38,8 +38,8 @@
     * 查询AI意图库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        startPage();
        List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
@@ -74,7 +74,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')")
    @Log(title = "AI意图库分类", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        return toAjax(ivrLibIntentcategoryService.insertIvrLibIntentcategory(ivrLibIntentcategory));
@@ -85,7 +85,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')")
    @Log(title = "AI意图库分类", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        return toAjax(ivrLibIntentcategoryService.updateIvrLibIntentcategory(ivrLibIntentcategory));
@@ -96,7 +96,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')")
    @Log(title = "AI意图库分类", businessType = BusinessType.DELETE)
   @DeleteMapping("/{intertcatids}")
   @GetMapping("/remove/{intertcatids}")
    public AjaxResult remove(@PathVariable Long[] intertcatids)
    {
        return toAjax(ivrLibIntentcategoryService.deleteIvrLibIntentcategoryByIntertcatids(intertcatids));