mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
增加登录结果字段
场景:连续登录失败时,显示验证码
This commit is contained in:
parent
1e4f59141f
commit
71b08fdada
@ -14,7 +14,7 @@
|
||||
"bsonType": "string",
|
||||
"description": "userAgent"
|
||||
},
|
||||
"device_id": {
|
||||
"device_uuid": {
|
||||
"bsonType": "string",
|
||||
"description": "设备唯一标识(需要加密存储)"
|
||||
},
|
||||
@ -23,6 +23,10 @@
|
||||
"enum": ["login", "logout"],
|
||||
"description": "登录类型"
|
||||
},
|
||||
"state": {
|
||||
"bsonType": "int",
|
||||
"description": "结果:0 失败、1 成功"
|
||||
},
|
||||
"ip": {
|
||||
"bsonType": "string",
|
||||
"description": "ip地址"
|
||||
|
Loading…
Reference in New Issue
Block a user