From df888da7f2736a5fa383c3333b5605486eb51136 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 29 一月 2026 14:33:37 +0800
Subject: [PATCH] 进销存升级 1.用印管理查看时,申请编号显示不一致 2.知识库页面页码展示有误 3.新增的销售报价记录点击编辑后,产品规格型号信息不回显

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

diff --git a/src/api/system/message.js b/src/api/system/message.js
index b046016..dd81cc5 100644
--- a/src/api/system/message.js
+++ b/src/api/system/message.js
@@ -10,26 +10,27 @@
 }
 
 // 鏌ヨ鏈娑堟伅鏁伴噺
-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 },
   });
 }
 
 // 涓�閿爣璁版墍鏈夋秷鎭负宸茶
 export function markAllAsRead() {
   return request({
-    url: "/system/notice/markAllAsRead",
+    url: "/system/notice/readAll",
     method: "post",
   });
 }
@@ -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