| | |
| | | @Log(title = "通过模板", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return toAjax(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | return AjaxResult.success(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @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)); |
| | | } |
| | | } |