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",
"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",