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