feat(B批收尾): B1门禁可信/B7-1菜单环防护/B2空值守卫/B7-2分页/B7-3字段清洗/B3空态/B4索引key/B5-3 comment三集合选A新建schema(漂移清零)/B6清理+admin配置+changelog
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"bsonType": "object",
|
||||
"permission": {
|
||||
"create": true,
|
||||
"delete": false,
|
||||
"read": false,
|
||||
"update": false
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"content": {
|
||||
"bsonType": "string",
|
||||
"description": "评论内容"
|
||||
},
|
||||
"root_id": {
|
||||
"bsonType": "string",
|
||||
"description": "根评论ID(盖楼模型)"
|
||||
},
|
||||
"author_id": {
|
||||
"bsonType": "string",
|
||||
"description": "作者ID,参考uni-id-users表"
|
||||
},
|
||||
"parent_id": {
|
||||
"bsonType": "string",
|
||||
"description": "父评论ID"
|
||||
},
|
||||
"article_id": {
|
||||
"bsonType": "string",
|
||||
"description": "文章ID"
|
||||
},
|
||||
"like_count": {
|
||||
"bsonType": "int",
|
||||
"description": "点赞数"
|
||||
},
|
||||
"create_time": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "创建时间"
|
||||
},
|
||||
"update_time": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "更新时间"
|
||||
},
|
||||
"reply_count": {
|
||||
"bsonType": "int",
|
||||
"description": "回复数"
|
||||
},
|
||||
"ip_location": {
|
||||
"bsonType": "string",
|
||||
"description": "IP归属地"
|
||||
}
|
||||
},
|
||||
"required": ["content"]
|
||||
}
|
||||
Reference in New Issue
Block a user