feat(DOC): 完整地审查了代码,更完整的注释说明
- 无代码修改
This commit is contained in:
@@ -10,10 +10,13 @@ export interface BaseEntity {
|
||||
|
||||
// 用户基础信息接口
|
||||
export interface BaseUser {
|
||||
// 其实应该用profile的
|
||||
user: User;
|
||||
}
|
||||
|
||||
export interface PostComment extends BaseEntity {
|
||||
// 这里没带postId,如果后台管理需要,就要带
|
||||
// 重复了,而且评论没有数据(点赞、收藏等等)
|
||||
authorId: string; // 作者ID
|
||||
author: BaseUser; // 作者信息
|
||||
content: string; // 评论内容
|
||||
|
||||
Reference in New Issue
Block a user