liusheng
2024-04-15 fdf1b9c1e4489a0c2615fa596268b2f71fad7b4c
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibaExtemplateController.java
@@ -73,7 +73,7 @@
    @Log(title = "通过模板", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) {
        return toAjax(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate));
        return AjaxResult.success(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate));
    }
    /**
@@ -94,7 +94,7 @@
    @PreAuthorize("@ss.hasPermi('smartor:extemplate:remove')")
    @Log(title = "通过模板", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{IDs}")
    public AjaxResult remove(@PathVariable String[] IDs) {
    public AjaxResult remove(@PathVariable Long[] IDs) {
        return toAjax(ivrLibaExtemplateService.deleteIvrLibaExtemplateByIDs(IDs));
    }
}