From 9f3bc47b98cbc51df7cfcea94d4aa0c35f40cbc5 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 13 十月 2026 14:09:06 +0800
Subject: [PATCH] feat: 添加数字格式化工具,支持去掉小数末尾多余的 0 和四舍五入功能

---
 src/api/system/message.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/api/system/message.js b/src/api/system/message.js
index dd81cc5..e4d278c 100644
--- a/src/api/system/message.js
+++ b/src/api/system/message.js
@@ -35,6 +35,14 @@
   });
 }
 
+// 娓呴櫎褰撳墠鐢ㄦ埛鐨勫叏閮ㄦ秷鎭�
+export function clearAllMessage() {
+  return request({
+    url: "/system/notice/clearAll",
+    method: "delete",
+  });
+}
+
 // 纭娑堟伅
 export function confirmMessage(noticeId, status) {
   return request({

--
Gitblit v1.9.3