liusheng
2023-12-15 78b0e909aa6ece787091e5d81450c8927ef2599e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibaTemplateController.java
@@ -38,8 +38,8 @@
     * 查询话术模板库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibaTemplate ivrLibaTemplate)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrLibaTemplate ivrLibaTemplate)
    {
        startPage();
        List<IvrLibaTemplate> list = ivrLibaTemplateService.selectIvrLibaTemplateList(ivrLibaTemplate);
@@ -74,7 +74,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:add')")
    @Log(title = "话术模板库", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrLibaTemplate ivrLibaTemplate)
    {
        return toAjax(ivrLibaTemplateService.insertIvrLibaTemplate(ivrLibaTemplate));
@@ -85,7 +85,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:edit')")
    @Log(title = "话术模板库", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrLibaTemplate ivrLibaTemplate)
    {
        return toAjax(ivrLibaTemplateService.updateIvrLibaTemplate(ivrLibaTemplate));
@@ -96,7 +96,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:remove')")
    @Log(title = "话术模板库", businessType = BusinessType.DELETE)
   @DeleteMapping("/{templateIDs}")
   @GetMapping("/remove/{templateIDs}")
    public AjaxResult remove(@PathVariable String[] templateIDs)
    {
        return toAjax(ivrLibaTemplateService.deleteIvrLibaTemplateByTemplateIDs(templateIDs));