From 77f0029c726cd90004eb7cb7e868d9bf395cd270 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Thu, 13 Oct 2022 11:48:57 +0800 Subject: [PATCH] fix: opendb-verify-codes device_uuid -> deviceId --- collection/opendb-verify-codes/collection.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/collection/opendb-verify-codes/collection.json b/collection/opendb-verify-codes/collection.json index e1db745..36a9e84 100644 --- a/collection/opendb-verify-codes/collection.json +++ b/collection/opendb-verify-codes/collection.json @@ -14,10 +14,10 @@ "bsonType": "string", "description": "邮箱" }, - "device_uuid": { - "bsonType": "string", - "description": "设备UUID,常用于图片验证码" - }, + "deviceId": { + "bsonType": "string", + "description": "设备ID,常用于图片验证码" + }, "code": { "bsonType": "string", "description": "验证码" @@ -69,10 +69,10 @@ "MgoIsUnique": false } }, { - "IndexName": "device_uuid_code_", + "IndexName": "device_id_code_", "MgoKeySchema": { "MgoIndexKeys": [{ - "Name": "device_uuid", + "Name": "deviceId", "Direction": "1" }, { "Name": "code",