src/main/java/com/ruoyi/project/system/controller/SysNoticeController.java
@@ -87,6 +87,14 @@ return toAjax(noticeService.readAll()); } /** * 清除当前登录用户的全部消息 */ @DeleteMapping("/clearAll") public R clearAll() { return R.ok(noticeService.clearAll()); } @PostMapping("appReadNotice") @Operation(summary = "移动端根据消息ID进行已读") public AjaxResult appReadNotice(@RequestParam("noticeId") Long noticeId) {