fix: opendb-verify-codes device_uuid -> deviceId

This commit is contained in:
DCloud_LXH 2022-10-13 11:48:57 +08:00
parent 0a81e441f3
commit 77f0029c72

View File

@ -14,10 +14,10 @@
"bsonType": "string", "bsonType": "string",
"description": "邮箱" "description": "邮箱"
}, },
"device_uuid": { "deviceId": {
"bsonType": "string", "bsonType": "string",
"description": "设备UUID常用于图片验证码" "description": "设备ID常用于图片验证码"
}, },
"code": { "code": {
"bsonType": "string", "bsonType": "string",
"description": "验证码" "description": "验证码"
@ -69,10 +69,10 @@
"MgoIsUnique": false "MgoIsUnique": false
} }
}, { }, {
"IndexName": "device_uuid_code_", "IndexName": "device_id_code_",
"MgoKeySchema": { "MgoKeySchema": {
"MgoIndexKeys": [{ "MgoIndexKeys": [{
"Name": "device_uuid", "Name": "deviceId",
"Direction": "1" "Direction": "1"
}, { }, {
"Name": "code", "Name": "code",