This commit is contained in:
Timi
2026-07-30 18:28:25 +08:00
parent 8b24804b22
commit f0d1090932
21 changed files with 915 additions and 268 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
import { Model, Page } from "./Model";
import { UserView } from "./User";
import { User } from "./User";
/** 评论 */
export type Comment = {
@@ -10,7 +10,7 @@ export type Comment = {
content?: string;
/** 所属用户 */
user?: UserView;
user?: User;
/** 回复列表 */
replies?: CommentReply[];
@@ -41,8 +41,8 @@ export type CommentReply = {
content?: string;
comment?: Comment;
sender?: UserView;
receiver?: UserView;
sender?: User;
receiver?: User;
} & Model;
export enum CommentReplyBizType {