From 5fd21ec6e0bd9511b512e7521ec4f3217b5e1d29 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期三, 14 十月 2026 14:09:40 +0800
Subject: [PATCH] refactor: 移除不必要的字段注释,简化代码结构
---
src/api/system/message.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/api/system/message.js b/src/api/system/message.js
index 871d7e8..e4d278c 100644
--- a/src/api/system/message.js
+++ b/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({
--
Gitblit v1.9.3