| | |
| | | * 查询通用模板分类列表 |
| | | */ |
| | | @ApiOperation("查询通用模板分类列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | startPage(); |
| | |
| | | * 导出通用模板分类列表 |
| | | */ |
| | | @ApiOperation("导出通用模板分类列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:export')") |
| | | @Log(title = "通用模板分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | |
| | | * 获取通用模板分类详细信息 |
| | | */ |
| | | @ApiOperation("获取通用模板分类详细信息") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:query')") |
| | | @GetMapping(value = "/getInfo/{intertcatid}") |
| | | public AjaxResult getInfo(@PathVariable("intertcatid") Long intertcatid) { |
| | | return success(ivrLibaExtemplateCategoryService.selectIvrLibaExtemplateCategoryByIntertcatid(intertcatid)); |
| | |
| | | * 新增通用模板分类 |
| | | */ |
| | | @ApiOperation("新增通用模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:add')") |
| | | @Log(title = "通用模板分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | |
| | | * 修改通用模板分类 |
| | | */ |
| | | @ApiOperation("修改通用模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:edit')") |
| | | @Log(title = "通用模板分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | |
| | | * 删除通用模板分类 |
| | | */ |
| | | @ApiOperation("删除通用模板分类") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:category:remove')") |
| | | @Log(title = "通用模板分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{intertcatids}") |
| | | public AjaxResult remove(@PathVariable Long[] intertcatids) { |