From a7e6e4c69e17f1b10acf75d03c0a46327c1b3dcf Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期五, 23 一月 2026 12:15:52 +0800
Subject: [PATCH] 器具校准,校准记录

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

diff --git a/src/api/system/message.js b/src/api/system/message.js
index b046016..871d7e8 100644
--- a/src/api/system/message.js
+++ b/src/api/system/message.js
@@ -10,19 +10,20 @@
 }
 
 // 鏌ヨ鏈娑堟伅鏁伴噺
-export function getUnreadCount() {
+export function getUnreadCount(consigneeId) {
   return request({
     url: "/system/notice/getCount",
     method: "get",
+    params: { consigneeId },
   });
 }
 
 // 鏍囪娑堟伅涓哄凡璇�
-export function markAsRead(noticeId) {
+export function markAsRead(noticeId, status) {
   return request({
-    url: "/system/notice/markAsRead",
-    method: "post",
-    data: { noticeId },
+    url: "/system/notice",
+    method: "put",
+    data: { noticeId, status },
   });
 }
 
@@ -37,8 +38,8 @@
 // 纭娑堟伅
 export function confirmMessage(noticeId, status) {
   return request({
-    url: "/system/notice/confirm",
-    method: "post",
+    url: "/system/notice",
+    method: "put",
     data: { noticeId, status },
   });
 }

--
Gitblit v1.9.3