yuan
2026-08-25 a73e5931ebc04f7ce5915e82f4988aeb095597cc
src/api/system/message.js
@@ -30,11 +30,19 @@
// 一键标记所有消息为已读
export function markAllAsRead() {
  return request({
    url: "/system/notice/markAllAsRead",
    url: "/system/notice/readAll",
    method: "post",
  });
}
// 清除当前用户的全部消息
export function clearAllMessage() {
  return request({
    url: "/system/notice/clearAll",
    method: "delete",
  });
}
// 确认消息
export function confirmMessage(noticeId, status) {
  return request({