mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
chore: add invite_time to uni-id-users
This commit is contained in:
parent
426f93d6a9
commit
c66162b79f
@ -34,35 +34,44 @@
|
||||
"title": "性别",
|
||||
"description": "用户性别:0 未知 1 男性 2 女性",
|
||||
"defaultValue": 0,
|
||||
"enum": [{
|
||||
"enum": [
|
||||
{
|
||||
"text": "未知",
|
||||
"value": 0
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "男",
|
||||
"value": 1
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "女",
|
||||
"value": 2
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"bsonType": "int",
|
||||
"description": "用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝",
|
||||
"title": "用户状态",
|
||||
"defaultValue": 0,
|
||||
"enum": [{
|
||||
"enum": [
|
||||
{
|
||||
"text": "正常",
|
||||
"value": 0
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "禁用",
|
||||
"value": 1
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "审核中",
|
||||
"value": 2
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "审核拒绝",
|
||||
"value": 3
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
"mobile": {
|
||||
"bsonType": "string",
|
||||
@ -76,13 +85,16 @@
|
||||
"description": "手机号验证状态:0 未验证 1 已验证",
|
||||
"title": "手机号验证状态",
|
||||
"defaultValue": 0,
|
||||
"enum": [{
|
||||
"enum": [
|
||||
{
|
||||
"text": "未验证",
|
||||
"value": 0
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "已验证",
|
||||
"value": 1
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
"email": {
|
||||
"bsonType": "string",
|
||||
@ -96,13 +108,16 @@
|
||||
"description": "邮箱验证状态:0 未验证 1 已验证",
|
||||
"title": "邮箱验证状态",
|
||||
"defaultValue": 0,
|
||||
"enum": [{
|
||||
"enum": [
|
||||
{
|
||||
"text": "未验证",
|
||||
"value": 0
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"text": "已验证",
|
||||
"value": 1
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
"avatar": {
|
||||
"bsonType": "string",
|
||||
@ -259,6 +274,10 @@
|
||||
"description": "用户全部上级邀请者",
|
||||
"trim": "both"
|
||||
},
|
||||
"invite_time": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "受邀时间"
|
||||
},
|
||||
"my_invite_code": {
|
||||
"bsonType": "string",
|
||||
"description": "用户自身邀请码"
|
||||
@ -266,133 +285,160 @@
|
||||
}
|
||||
},
|
||||
"data": [],
|
||||
"index": [{
|
||||
"index": [
|
||||
{
|
||||
"IndexName": "username",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "username",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "mobile",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "mobile",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "email",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "email",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "wx_openid.app-plus",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "wx_openid.app-plus",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "wx_openid.mp-weixin",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "wx_openid.mp-weixin",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "wx_unionid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "wx_unionid",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "ali_openid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "ali_openid",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "apple_openid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "apple_openid",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "my_invite_code",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "my_invite_code",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "inviter_uid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "inviter_uid",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "invite_time",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "invite_time",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "role",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "role",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "department",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "department_id",
|
||||
"Direction": "1"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user