update collection/uni-id-task/collection.json.

This commit is contained in:
崔红保 2020-10-26 19:45:32 +08:00 committed by Gitee
parent 4468bc5602
commit 9352f77ca1

View File

@ -8,15 +8,18 @@
}, },
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "任务名称" "description": "任务名称",
"title": "任务名称"
}, },
"comment": { "comment": {
"bsonType": "string", "bsonType": "string",
"description": "任务描述" "description": "任务描述",
"title": "任务描述"
}, },
"bounty": { "bounty": {
"bsonType": "int", "bsonType": "int",
"description": "任务完成后的奖励积分" "description": "任务完成后的奖励积分",
"title": "奖励积分"
}, },
"max_per_hour": { "max_per_hour": {
"bsonType": "int", "bsonType": "int",
@ -32,7 +35,10 @@
}, },
"create_date": { "create_date": {
"bsonType": "timestamp", "bsonType": "timestamp",
"description": "创建时间" "description": "创建时间",
"defaultValue": {
"$env": "now"
}
} }
} }
}, },