mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 03:23:03 +08:00
update: 表 opendb-news-articles 字段 comment_status 改为 enum
This commit is contained in:
parent
aafb5b9bcb
commit
58583daec9
@ -97,9 +97,17 @@
|
||||
"comment_status": {
|
||||
"bsonType": "int",
|
||||
"title": "开放评论",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"description": "评论状态:0 关闭 1 开放"
|
||||
"description": "评论状态:0 关闭 1 开放",
|
||||
"enum": [
|
||||
{
|
||||
"value": 0,
|
||||
"text": "关闭"
|
||||
},
|
||||
{
|
||||
"value": 1,
|
||||
"text": "开放"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comment_count": {
|
||||
"bsonType": "int",
|
||||
@ -157,6 +165,5 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"data": [],
|
||||
"index": []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user