| | |
| | | * 查询通用模板话术列表 |
| | | */ |
| | | @ApiOperation("查询通用模板话术列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | startPage(); |
| | |
| | | * 导出通用模板话术列表 |
| | | */ |
| | | @ApiOperation("导出通用模板话术列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:export')") |
| | | @Log(title = "通用模板话术", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | |
| | | * 获取通用模板话术详细信息 |
| | | */ |
| | | @ApiOperation("获取通用模板话术详细信息") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:query')") |
| | | @GetMapping(value = "/getInfo/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") String ID) { |
| | | return success(ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptByID(ID)); |
| | |
| | | * 新增通用模板话术 |
| | | */ |
| | | @ApiOperation("新增通用模板话术") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:add')") |
| | | @Log(title = "通用模板话术", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | |
| | | * 修改通用模板话术 |
| | | */ |
| | | @ApiOperation("修改通用模板话术") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:edit')") |
| | | @Log(title = "通用模板话术", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | |
| | | * 删除通用模板话术 |
| | | */ |
| | | @ApiOperation("删除通用模板话术") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:extemplatescript:remove')") |
| | | @Log(title = "通用模板话术", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable String[] IDs) { |
| | | public AjaxResult remove(@PathVariable Long[] IDs) { |
| | | return toAjax(ivrLibaExtemplatescriptService.deleteIvrLibaExtemplatescriptByIDs(IDs)); |
| | | } |
| | | } |