From d0f4c2d4bb7a72b32fb9945de8908e1d4ab6509c Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 06 六月 2025 14:13:58 +0800 Subject: [PATCH] 提交 --- management/src/pages/message-notification/service.js | 35 ++++++++++++++++++++++++++++------- 1 files changed, 28 insertions(+), 7 deletions(-) diff --git a/management/src/pages/message-notification/service.js b/management/src/pages/message-notification/service.js index 797aec7..23366e7 100644 --- a/management/src/pages/message-notification/service.js +++ b/management/src/pages/message-notification/service.js @@ -2,18 +2,39 @@ // 列表 export const getList = async (data) => { - return request(`/promotion/mgt/promotion-banner/page`, { - method: 'POST', - data + return request(`/api/huacheng-sangeshenbian/messageNotification/list`, { + method: 'GET', + params: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 getUnitList = async (params) => { + return request(`/api/huacheng-sangeshenbian/department/list`, { + method: 'GET', + params + }); +} +// 获取职位列表数据 +export const systemPostList = async (params) => { + return request(`/api/huacheng-sangeshenbian/systemPost/list`, { + method: 'GET',params + }); +} + + + + + + + // 详情列表 export const getDetailList = async (data) => { return request(`/goods/mgt/goods-sku/page`, { -- Gitblit v1.7.1