feat: websocket前端代码部分

还在完善websocket的前端通知代码部分。以及在思考怎么跟后端的用户状态表关联问题
This commit is contained in:
Kylin
2024-08-28 18:01:35 +08:00
parent 44f0e09f8e
commit 1da5772461
4 changed files with 270 additions and 100 deletions

View File

@@ -64,10 +64,32 @@ class NoticeStatusAPI {
export default NoticeStatusAPI;
/** 用户公告状态分页查询参数 */
export interface NoticeStatusPageQuery extends PageQuery {}
export interface NoticeStatusPageQuery extends PageQuery {
/** id */
id?: bigint;
/** 公共通知id */
noticeId?: bigint;
/** 用户id */
userId?: number;
/** 读取状态0未读1已读取 */
readStatus?: bigint;
/** 用户阅读时间 */
readTiem?: [string, string];
}
/** 用户公告状态表单对象 */
export interface NoticeStatusForm {}
/** 用户公告状态分页对象 */
export interface NoticeStatusPageVO {}
export interface NoticeStatusPageVO {
/** id */
id?: bigint;
/** 公共通知id */
noticeId?: bigint;
/** 用户id */
userId?: number;
/** 读取状态0未读1已读取 */
readStatus?: bigint;
/** 用户阅读时间 */
readTiem?: Date;
}