| | |
| | | * 查询短信账号列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseSmsaccount baseSmsaccount) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseSmsaccount baseSmsaccount) { |
| | | startPage(); |
| | | List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')") |
| | | @Log(title = "短信账号", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody BaseSmsaccount baseSmsaccount) { |
| | | return toAjax(baseSmsaccountService.updateBaseSmsaccount(baseSmsaccount)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')") |
| | | @Log(title = "短信账号", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{smsacountids}") |
| | | @GetMapping("/remove/{smsacountids}") |
| | | public AjaxResult remove(@PathVariable Long[] smsacountids) { |
| | | return toAjax(baseSmsaccountService.deleteBaseSmsaccountBySmsacountids(smsacountids)); |
| | | } |