From 58583daec972e5ca22ecd16a87913690ec4045f5 Mon Sep 17 00:00:00 2001 From: handongxun Date: Tue, 15 Dec 2020 10:46:06 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E8=A1=A8=20opendb-news-articles=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=20comment=5Fstatus=20=E6=94=B9=E4=B8=BA=20en?= =?UTF-8?q?um?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-news-articles/collection.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/collection/opendb-news-articles/collection.json b/collection/opendb-news-articles/collection.json index 2edee28..bd18696 100644 --- a/collection/opendb-news-articles/collection.json +++ b/collection/opendb-news-articles/collection.json @@ -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": [] }