From 1c598b62976901679a6ba723d6fbe2dc6771f11f Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 18 三月 2025 19:07:04 +0800
Subject: [PATCH] 检验任务&首页代码迁移

---
 src/api/system/notice.js |   63 +++++++++++++++++++++++++++++++
 1 files changed, 62 insertions(+), 1 deletions(-)

diff --git a/src/api/system/notice.js b/src/api/system/notice.js
index c274ea5..4dd18c4 100644
--- a/src/api/system/notice.js
+++ b/src/api/system/notice.js
@@ -41,4 +41,65 @@
     url: '/system/notice/' + noticeId,
     method: 'delete'
   })
-}
\ No newline at end of file
+}
+
+// 娑堟伅閫氱煡-婊氬姩鍒嗛〉鏌ヨ
+export function pageNotice(query) {
+  return request({
+    url: '/informationNotification/page',
+    method: 'get',
+    params: query
+  })
+}
+
+// 娑堟伅閫氱煡-鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級
+export function updateMessageStatus(query) {
+  return request({
+    url: '/informationNotification/updateMessageStatus',
+    method: 'put',
+    data: query
+  })
+}
+
+// 娑堟伅閫氱煡-鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�
+export function informationReadOrDelete(isMarkAllInformationRead) {
+  return request({
+    url: '/informationNotification/informationReadOrDelete/' + isMarkAllInformationRead,
+    method: 'put',
+  })
+}
+
+// 娑堟伅閫氱煡-鍒犻櫎鏁版嵁
+export function deleteDataBasedOnId(query) {
+  return request({
+    url: '/informationNotification/deleteDataBasedOnId',
+    method: 'delete',
+    params: query
+  })
+}
+
+// 娑堟伅閫氱煡-鏌ヨ鏄惁瀛樺湪鏈鏁版嵁
+export function checkForUnreadData() {
+  return request({
+    url: '/informationNotification/checkForUnreadData',
+    method: 'get',
+  })
+}
+
+// 娑堟伅閫氱煡-鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶
+export function triggerModificationStatusToRead(id) {
+  return request({
+    url: '/informationNotification/triggerModificationStatusToRead/' + id,
+    method: 'put',
+  })
+}
+
+// 娑堟伅閫氱煡-鑾峰彇棣栭〉鍥涚娑堟伅鏁伴噺
+export function getNumberFourTypesMessagesHomePage() {
+  return request({
+    url: '/informationNotification/getNumberFourTypesMessagesHomePage',
+    method: 'get',
+  })
+}
+
+

--
Gitblit v1.9.3