mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
fix: opendb-verify-codes device_uuid -> deviceId
This commit is contained in:
parent
0a81e441f3
commit
77f0029c72
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user