修改路径

This commit is contained in:
小海
2020-05-16 22:18:45 +08:00
parent abc792a561
commit 42177a7721
683 changed files with 92 additions and 18398 deletions

33
src/app/class/Comment.ts Normal file
View File

@@ -0,0 +1,33 @@
export class Comment {
id?: number;
authorName?: string;
authorAvatarImgUrl?: string;
content: string;
articleID: number;
articleTitle: string;
date?: string;
responseId: string;
pid: number;
comment: boolean;
respComment: Comment[];
}
export class CommentReq {
id?: number;
comment: boolean;
content: string;
pid: number;
articleID: number;
responseId: string;
constructor(comment: boolean) {
this.comment = comment;
this.responseId = '';
if (!comment) {
this.articleID = -1;
}
this.pid = -1;
this.id = null;
}
}