|
@@ -8,7 +8,7 @@ const CommentSchema = {
|
|
|
uid: { type: String, required: true, maxLength: 500 }, // 用户ID
|
|
|
content: { type: String, required: true }, // 评论内容
|
|
|
public_time: { type: String, required: false, maxLength: 500 }, // 发布时间
|
|
|
- status: { type: String, required: false, maxLength: 100 }, // 状态,0-未审核,1-审核通过,2-审核拒绝
|
|
|
+ status: { type: String, required: false, maxLength: 100, default: '0' }, // 状态,0-未审核,1-审核通过,2-审核拒绝
|
|
|
};
|
|
|
|
|
|
|