update: uni-id-users fission

This commit is contained in:
wangyaqi 2020-08-20 16:25:31 +08:00
parent 0edff8ace6
commit 7ab5d0356b

View File

@ -1,7 +1,7 @@
{ {
"schema": { "schema": {
"bsonType": "object", "bsonType": "object",
"required": ["username", "password", "status"], "required": [],
"properties": { "properties": {
"_id": { "_id": {
"description": "存储文档 ID用户 ID系统自动生成" "description": "存储文档 ID用户 ID系统自动生成"
@ -154,6 +154,18 @@
"last_login_ip": { "last_login_ip": {
"bsonType": "string", "bsonType": "string",
"description": "最后登录时 IP 地址" "description": "最后登录时 IP 地址"
},
"token": {
"bsonType": "array",
"description": "用户token"
},
"inviter_uid": {
"bsonType": "array",
"description": "用户全部上级邀请者"
},
"my_invite_code": {
"bsonType": "string",
"description": "用户自身邀请码"
} }
} }
}, },