From d0f4c2d4bb7a72b32fb9945de8908e1d4ab6509c Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 06 六月 2025 14:13:58 +0800 Subject: [PATCH] 提交 --- management/src/components/RightContent/service.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/management/src/components/RightContent/service.js b/management/src/components/RightContent/service.js index 73e7666..6750bb8 100644 --- a/management/src/components/RightContent/service.js +++ b/management/src/components/RightContent/service.js @@ -1,8 +1,17 @@ import { request } from '@umijs/max'; +// 退出登录 export async function outLogin(data) { return request('/api/huacheng-sangeshenbian/systemUser/logout', { method: 'POST', data, }); +} + +// 获取未读数量 +export async function getUnreadCount(data) { + return request('/api/huacheng-sangeshenbian/messageNotification/unreadCount', { + method: 'GET', + data, + }); } \ No newline at end of file -- Gitblit v1.7.1