liusheng
2023-12-15 78b0e909aa6ece787091e5d81450c8927ef2599e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java
@@ -38,8 +38,8 @@
     * 查询AI意图库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibIntent ivrLibIntent)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrLibIntent ivrLibIntent)
    {
        startPage();
        List<IvrLibIntent> list = ivrLibIntentService.selectIvrLibIntentList(ivrLibIntent);
@@ -74,7 +74,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:add')")
    @Log(title = "AI意图库", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrLibIntent ivrLibIntent)
    {
        return toAjax(ivrLibIntentService.insertIvrLibIntent(ivrLibIntent));
@@ -85,7 +85,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:edit')")
    @Log(title = "AI意图库", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrLibIntent ivrLibIntent)
    {
        return toAjax(ivrLibIntentService.updateIvrLibIntent(ivrLibIntent));
@@ -96,7 +96,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:remove')")
    @Log(title = "AI意图库", businessType = BusinessType.DELETE)
   @DeleteMapping("/{intentids}")
   @GetMapping("/remove/{intentids}")
    public AjaxResult remove(@PathVariable Long[] intentids)
    {
        return toAjax(ivrLibIntentService.deleteIvrLibIntentByIntentids(intentids));