diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index ac99d76..0a66769 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -1,7 +1,7 @@ { "schema": { "bsonType": "object", - "required": ["username", "password", "status"], + "required": [], "properties": { "_id": { "description": "存储文档 ID(用户 ID),系统自动生成" @@ -154,6 +154,18 @@ "last_login_ip": { "bsonType": "string", "description": "最后登录时 IP 地址" + }, + "token": { + "bsonType": "array", + "description": "用户token" + }, + "inviter_uid": { + "bsonType": "array", + "description": "用户全部上级邀请者" + }, + "my_invite_code": { + "bsonType": "string", + "description": "用户自身邀请码" } } },