更新消息管理页面,调整消息数据结构,新增标记消息为已读的API路由,优化用户消息状态处理,提升用户体验和代码可维护性。
This commit is contained in:
@@ -5,7 +5,7 @@ import type {
|
||||
User, FileLibrary, FileCategory, ThemeSettings,
|
||||
SystemSetting, SystemSettingGroupData,
|
||||
LoginLocation, LoginLocationDetail,
|
||||
Message, MessageType, MessageStatus
|
||||
Message, MessageType, MessageStatus, UserMessage
|
||||
} from '../share/types.ts';
|
||||
|
||||
|
||||
@@ -608,7 +608,7 @@ export interface MessageResponse {
|
||||
}
|
||||
|
||||
export interface MessagesResponse {
|
||||
data: Message[];
|
||||
data: UserMessage[];
|
||||
pagination: {
|
||||
total: number;
|
||||
current: number;
|
||||
|
||||
Reference in New Issue
Block a user