mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-03 02:57:09 +08:00
refactor: 消息通知点开后才查询消息列表
This commit is contained in:
@@ -17,3 +17,8 @@ export function deleteMessage(ids: string | Array<string>) {
|
||||
export function readMessage(ids?: string | Array<string>) {
|
||||
return http.patch(`${BASE_URL}/read`, ids)
|
||||
}
|
||||
|
||||
/** @desc 查询未读消息数量 */
|
||||
export function getUnreadMessageCount() {
|
||||
return http.get(`${BASE_URL}/unread`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user