liusheng
2024-11-22 5389773b2d1ae86daec68b00f67c3682dc907e01
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
@@ -23,7 +23,7 @@
/**
 * AI意图库分类Controller
 *
 *
 * @author smartor
 * @date 2023-03-06
 */
@@ -37,9 +37,9 @@
    /**
     * 查询AI意图库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        startPage();
        List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
@@ -49,7 +49,7 @@
    /**
     * 导出AI意图库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:export')")
    @Log(title = "AI意图库分类", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibIntentcategory ivrLibIntentcategory)
@@ -62,7 +62,7 @@
    /**
     * 获取AI意图库分类详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:query')")
    @GetMapping(value = "/{intertcatid}")
    public AjaxResult getInfo(@PathVariable("intertcatid") Long intertcatid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')")
    //@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));
@@ -83,9 +83,9 @@
    /**
     * 修改AI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')")
    //@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));
@@ -94,9 +94,9 @@
    /**
     * 删除AI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')")
    //@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));