| | |
| | | /** |
| | | * 查询短信模板列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SmsTemplet smsTemplet) |
| | | { |
| | |
| | | /** |
| | | * 导出短信模板列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:export')") |
| | | @Log(title = "短信模板", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SmsTemplet smsTemplet) |
| | |
| | | /** |
| | | * 获取短信模板详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:query')") |
| | | @GetMapping(value = "/{templetid}") |
| | | public AjaxResult getInfo(@PathVariable("templetid") Long templetid) |
| | | { |
| | |
| | | /** |
| | | * 新增短信模板 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:add')") |
| | | @Log(title = "短信模板", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SmsTemplet smsTemplet) |
| | |
| | | /** |
| | | * 修改短信模板 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:edit')") |
| | | @Log(title = "短信模板", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SmsTemplet smsTemplet) |
| | |
| | | /** |
| | | * 删除短信模板 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smstemplet:remove')") |
| | | @Log(title = "短信模板", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{templetids}") |
| | | public AjaxResult remove(@PathVariable Long[] templetids) |