| | |
| | | /** |
| | | * 查询短信记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SmsRecords smsRecords) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出短信记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:export')") |
| | | @Log(title = "短信记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SmsRecords smsRecords) { |
| | |
| | | /** |
| | | * 获取短信记录详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:query')") |
| | | @GetMapping(value = "/{recordid}") |
| | | public AjaxResult getInfo(@PathVariable("recordid") Long recordid) { |
| | | return success(smsRecordsService.selectSmsRecordsByRecordid(recordid)); |
| | |
| | | /** |
| | | * 新增短信记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:add')") |
| | | @Log(title = "短信记录", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SmsRecords smsRecords) { |
| | |
| | | /** |
| | | * 修改短信记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:edit')") |
| | | @Log(title = "短信记录", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SmsRecords smsRecords) { |
| | |
| | | /** |
| | | * 删除短信记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsrecords:remove')") |
| | | @Log(title = "短信记录", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{recordids}") |
| | | public AjaxResult remove(@PathVariable Long[] recordids) { |