From 1e4f59141f390462bc0fcc658002b709be509d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Tue, 26 Jan 2021 20:42:52 +0800 Subject: [PATCH] Update collection.json --- collection/opendb-verify-codes/collection.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/collection/opendb-verify-codes/collection.json b/collection/opendb-verify-codes/collection.json index 54669b7..d8d90de 100644 --- a/collection/opendb-verify-codes/collection.json +++ b/collection/opendb-verify-codes/collection.json @@ -14,13 +14,17 @@ "bsonType": "string", "description": "邮箱" }, + "device_uuid": { + "bsonType": "string", + "description": "设备UUID,常用于图片验证码" + }, "code": { "bsonType": "string", "description": "验证码" }, - "type": { + "scene": { "bsonType": "string", - "description": "验证类型:login, bind, unbind, pay" + "description": "使用验证码的场景,如:login, bind, unbind, pay" }, "state": { "bsonType": "int", @@ -30,11 +34,11 @@ "bsonType": "string", "description": "请求时客户端IP地址" }, - "created_at": { + "create_date": { "bsonType": "timestamp", "description": "创建时间" }, - "expired_at": { + "expired_date": { "bsonType": "timestamp", "description": "过期时间" }