From 9352f77ca151b51510b0916652e4feec83ff178f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Mon, 26 Oct 2020 19:45:32 +0800 Subject: [PATCH] update collection/uni-id-task/collection.json. --- collection/uni-id-task/collection.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/collection/uni-id-task/collection.json b/collection/uni-id-task/collection.json index 22b378c..bcd9988 100644 --- a/collection/uni-id-task/collection.json +++ b/collection/uni-id-task/collection.json @@ -8,15 +8,18 @@ }, "name": { "bsonType": "string", - "description": "任务名称" + "description": "任务名称", + "title": "任务名称" }, "comment": { "bsonType": "string", - "description": "任务描述" + "description": "任务描述", + "title": "任务描述" }, "bounty": { "bsonType": "int", - "description": "任务完成后的奖励积分" + "description": "任务完成后的奖励积分", + "title": "奖励积分" }, "max_per_hour": { "bsonType": "int", @@ -32,7 +35,10 @@ }, "create_date": { "bsonType": "timestamp", - "description": "创建时间" + "description": "创建时间", + "defaultValue": { + "$env": "now" + } } } },