diff --git a/collection/opendb-verify-codes/collection.json b/collection/opendb-verify-codes/collection.json index 36a9e84..e1db745 100644 --- a/collection/opendb-verify-codes/collection.json +++ b/collection/opendb-verify-codes/collection.json @@ -14,10 +14,10 @@ "bsonType": "string", "description": "邮箱" }, - "deviceId": { - "bsonType": "string", - "description": "设备ID,常用于图片验证码" - }, + "device_uuid": { + "bsonType": "string", + "description": "设备UUID,常用于图片验证码" + }, "code": { "bsonType": "string", "description": "验证码" @@ -69,10 +69,10 @@ "MgoIsUnique": false } }, { - "IndexName": "device_id_code_", + "IndexName": "device_uuid_code_", "MgoKeySchema": { "MgoIndexKeys": [{ - "Name": "deviceId", + "Name": "device_uuid", "Direction": "1" }, { "Name": "code",