yuan
6 天以前 211d2887af4608fbdfd40af1e16e4f58131dfaa2
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) {