增加登录结果字段

场景:连续登录失败时,显示验证码
This commit is contained in:
崔红保 2021-01-27 16:36:26 +08:00
parent 1e4f59141f
commit 71b08fdada

View File

@ -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地址"