| | |
| | | */ |
| | | @ApiOperation("修改系统消息") |
| | | @Log(title = "系统消息", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceSystemmessage serviceSystemmessage) { |
| | | return toAjax(serviceSystemmessageService.updateById(serviceSystemmessage)); |
| | |
| | | @ApiOperation("删除系统消息") |
| | | @PreAuthorize("@ss.hasPermi('project:systemmessage:remove')") |
| | | @Log(title = "系统消息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceSystemmessageService.removeByIds(Arrays.asList(ids))); |
| | | } |