liusheng
2024-08-02 7d5f9cae5e237c25649ac4b481ace6355447a06c
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));
    }
}