refactor: 优化消息通知

This commit is contained in:
2024-05-23 00:05:01 +08:00
parent 1ebfd115eb
commit 56b1fdd755
11 changed files with 5799 additions and 4601 deletions

View File

@@ -14,6 +14,6 @@ export function deleteMessage(ids: string | Array<string>) {
}
/** @desc 标记已读 */
export function readMessage(ids: string | Array<string>) {
export function readMessage(ids?: string | Array<string>) {
return http.patch(`${BASE_URL}/read`, ids)
}