From 6bb88913b78e2862939ecc3f2199a01ce0272107 Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期三, 26 二月 2025 14:07:58 +0800
Subject: [PATCH] 调试接口

---
 management/src/pages/message-notification/service.js |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/management/src/pages/message-notification/service.js b/management/src/pages/message-notification/service.js
index 797aec7..0b55322 100644
--- a/management/src/pages/message-notification/service.js
+++ b/management/src/pages/message-notification/service.js
@@ -2,18 +2,20 @@
 
 // 列表
 export const getList = async (data) => {
-    return request(`/promotion/mgt/promotion-banner/page`, {
-        method: 'POST',
+    return request(`/api/huacheng-sangeshenbian/messageNotification/list`, {
+        method: 'GET',
         data
     });
 }
-// 详情
-export const getDetail = async (id) => {
-    return request(`/promotion/mgt/promotion-banner/detail/${id}`, {
-        method: 'GET',
+// 设置已读
+export const setStatus = async (id) => {
+    return request(`/api/huacheng-sangeshenbian/messageNotification/read/${id}`, {
+        method: 'PUT',
         // data
     });
 }
+
+
 // 详情列表
 export const getDetailList = async (data) => {
     return request(`/goods/mgt/goods-sku/page`, {

--
Gitblit v1.7.1