2020-07-31 18:34:27 +08:00
|
|
|
|
{
|
|
|
|
|
"schema": {
|
|
|
|
|
"bsonType": "object",
|
2020-08-20 16:25:31 +08:00
|
|
|
|
"required": [],
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"properties": {
|
|
|
|
|
"_id": {
|
|
|
|
|
"description": "存储文档 ID(用户 ID),系统自动生成"
|
|
|
|
|
},
|
|
|
|
|
"username": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "用户名",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "用户名,不允许重复",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"password": {
|
2020-11-20 11:58:49 +08:00
|
|
|
|
"bsonType": "password",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "密码",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "密码,加密存储",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
2020-11-14 17:50:14 +08:00
|
|
|
|
"password_secret_version": {
|
2020-11-14 17:02:18 +08:00
|
|
|
|
"bsonType": "int",
|
2020-11-20 11:58:49 +08:00
|
|
|
|
"title": "passwordSecret",
|
2020-11-14 17:02:18 +08:00
|
|
|
|
"description": "密码使用的passwordSecret版本"
|
|
|
|
|
},
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"nickname": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "昵称",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "用户昵称",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"gender": {
|
|
|
|
|
"bsonType": "int",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "性别",
|
2020-10-31 18:57:25 +08:00
|
|
|
|
"description": "用户性别:0 未知 1 男性 2 女性",
|
|
|
|
|
"defaultValue": 0,
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"enum": [
|
|
|
|
|
{
|
|
|
|
|
"text": "未知",
|
|
|
|
|
"value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "男",
|
|
|
|
|
"value": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "女",
|
|
|
|
|
"value": 2
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"status": {
|
|
|
|
|
"bsonType": "int",
|
2020-11-07 18:19:40 +08:00
|
|
|
|
"description": "用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝",
|
|
|
|
|
"title": "用户状态",
|
|
|
|
|
"defaultValue": 0,
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"enum": [
|
|
|
|
|
{
|
|
|
|
|
"text": "正常",
|
|
|
|
|
"value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "禁用",
|
|
|
|
|
"value": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "审核中",
|
|
|
|
|
"value": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "审核拒绝",
|
|
|
|
|
"value": 3
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"mobile": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "手机号码",
|
2020-10-31 18:57:25 +08:00
|
|
|
|
"description": "手机号码",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"pattern": "^\\+?[0-9-]{3,20}$",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"mobile_confirmed": {
|
|
|
|
|
"bsonType": "int",
|
2020-11-07 18:19:40 +08:00
|
|
|
|
"description": "手机号验证状态:0 未验证 1 已验证",
|
|
|
|
|
"title": "手机号验证状态",
|
|
|
|
|
"defaultValue": 0,
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"enum": [
|
|
|
|
|
{
|
|
|
|
|
"text": "未验证",
|
|
|
|
|
"value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "已验证",
|
|
|
|
|
"value": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"email": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:57:25 +08:00
|
|
|
|
"format": "email",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "邮箱",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "邮箱地址",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"email_confirmed": {
|
|
|
|
|
"bsonType": "int",
|
2020-11-07 18:19:40 +08:00
|
|
|
|
"description": "邮箱验证状态:0 未验证 1 已验证",
|
|
|
|
|
"title": "邮箱验证状态",
|
|
|
|
|
"defaultValue": 0,
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"enum": [
|
|
|
|
|
{
|
|
|
|
|
"text": "未验证",
|
|
|
|
|
"value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"text": "已验证",
|
|
|
|
|
"value": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"avatar": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "头像地址",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "头像地址",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
|
|
|
|
},
|
2021-12-24 15:20:40 +08:00
|
|
|
|
"avatar_file": {
|
|
|
|
|
"bsonType": "file",
|
|
|
|
|
"title": "头像文件",
|
|
|
|
|
"description": "用file类型方便使用uni-file-picker组件"
|
|
|
|
|
},
|
2022-08-12 15:15:56 +08:00
|
|
|
|
"d_ids": {
|
|
|
|
|
"bsonType": "array",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"description": "部门ID",
|
|
|
|
|
"title": "部门",
|
2022-08-08 22:03:22 +08:00
|
|
|
|
"foreignKey": "opendb-department._id",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"enumType": "tree",
|
|
|
|
|
"enum": {
|
|
|
|
|
"collection": "opendb-department",
|
|
|
|
|
"orderby": "name asc",
|
|
|
|
|
"field": "_id as value, name as text"
|
|
|
|
|
}
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
2022-08-12 15:15:56 +08:00
|
|
|
|
"e_ids": {
|
|
|
|
|
"bsonType": "array",
|
2022-08-08 22:03:22 +08:00
|
|
|
|
"description": "企业ID",
|
|
|
|
|
"title": "企业"
|
|
|
|
|
},
|
2020-11-07 14:28:48 +08:00
|
|
|
|
"role": {
|
|
|
|
|
"bsonType": "array",
|
|
|
|
|
"title": "角色",
|
2020-11-07 18:19:40 +08:00
|
|
|
|
"description": "用户角色",
|
2020-11-20 15:16:05 +08:00
|
|
|
|
"enum": {
|
|
|
|
|
"collection": "uni-id-roles",
|
|
|
|
|
"field": "role_id as value, role_name as text"
|
|
|
|
|
},
|
2020-11-11 11:48:27 +08:00
|
|
|
|
"foreignKey": "uni-id-roles.role_id",
|
2020-11-07 18:19:40 +08:00
|
|
|
|
"permission": {
|
|
|
|
|
"write": false
|
|
|
|
|
}
|
2020-11-07 14:28:48 +08:00
|
|
|
|
},
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"wx_unionid": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信unionid"
|
|
|
|
|
},
|
|
|
|
|
"wx_openid": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "微信各个平台openid",
|
|
|
|
|
"properties": {
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"app": {
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台微信openid"
|
|
|
|
|
},
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"mp": {
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信小程序平台openid"
|
2022-06-24 10:50:24 +08:00
|
|
|
|
},
|
|
|
|
|
"h5": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信公众号平台openid"
|
|
|
|
|
},
|
|
|
|
|
"web": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信网页登录openid"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"ali_openid": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "支付宝平台openid"
|
|
|
|
|
},
|
2021-01-18 13:28:20 +08:00
|
|
|
|
"apple_openid": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "苹果登录openid"
|
|
|
|
|
},
|
2021-07-29 20:47:07 +08:00
|
|
|
|
"dcloud_appid": {
|
|
|
|
|
"bsonType": "array",
|
|
|
|
|
"description": "允许登录的客户端的appid列表",
|
|
|
|
|
"foreignKey": "opendb-app-list.appid"
|
|
|
|
|
},
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"comment": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"title": "备注",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "备注",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"third_party" : {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "缓存用户在三方平台的token等信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"mp_weixin": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "微信小程序相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"session_key": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信小程序session key"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"app_weixin": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "app平台微信相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"access_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台微信access token"
|
|
|
|
|
},
|
|
|
|
|
"access_token_expired": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台微信access token过期时间"
|
|
|
|
|
},
|
|
|
|
|
"refresh_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台微信refresh token"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"h5_weixin": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "微信公众号平台微信相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"access_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信公众号平台access token"
|
|
|
|
|
},
|
|
|
|
|
"access_token_expired": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信公众号平台access token过期时间"
|
|
|
|
|
},
|
|
|
|
|
"refresh_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "微信公众号平台refresh token"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"web_weixin": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "web平台微信相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"access_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "web平台微信access token"
|
|
|
|
|
},
|
|
|
|
|
"access_token_expired": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "web平台微信access token过期时间"
|
|
|
|
|
},
|
|
|
|
|
"refresh_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "web平台微信refresh token"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"mp_qq": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "QQ小程序相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"session_key": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "QQ小程序session key"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"app_qq": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "app平台QQ相关信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"access_token": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台QQ access token"
|
|
|
|
|
},
|
|
|
|
|
"access_token_expired": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "app平台QQ access token过期时间"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-05-08 17:28:47 +08:00
|
|
|
|
"register_env": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "注册环境信息",
|
|
|
|
|
"properties": {
|
|
|
|
|
"appid": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用AppId"
|
|
|
|
|
},
|
|
|
|
|
"uni_platform": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用平台,app、h5等"
|
|
|
|
|
},
|
2022-05-09 16:41:46 +08:00
|
|
|
|
"os_name": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的客户端系统类型,ios、android、windows、mac、linux"
|
|
|
|
|
},
|
2022-05-08 17:28:47 +08:00
|
|
|
|
"app_name": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用名称"
|
|
|
|
|
},
|
|
|
|
|
"app_version": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用版本名称"
|
|
|
|
|
},
|
|
|
|
|
"app_version_code": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用版本号码"
|
|
|
|
|
},
|
|
|
|
|
"channel": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的应用渠道或小程序启动场景"
|
|
|
|
|
},
|
|
|
|
|
"client_ip": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "注册时的客户端ip"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"realname_auth": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"description": "实名认证信息",
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"required": [
|
|
|
|
|
"type",
|
|
|
|
|
"auth_status"
|
|
|
|
|
],
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"properties": {
|
|
|
|
|
"type": {
|
|
|
|
|
"bsonType": "int",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"maximum": 1,
|
|
|
|
|
"description": "用户类型:0 个人用户 1 企业用户"
|
|
|
|
|
},
|
|
|
|
|
"auth_status": {
|
|
|
|
|
"bsonType": "int",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"maximum": 3,
|
|
|
|
|
"description": "认证状态:0 未认证 1 等待认证 2 认证通过 3 认证失败"
|
|
|
|
|
},
|
|
|
|
|
"auth_date": {
|
|
|
|
|
"bsonType": "timestamp",
|
|
|
|
|
"description": "认证通过时间"
|
|
|
|
|
},
|
|
|
|
|
"real_name": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "真实姓名/企业名称"
|
|
|
|
|
},
|
|
|
|
|
"identity": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "身份证号码/营业执照号码"
|
|
|
|
|
},
|
|
|
|
|
"id_card_front": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "身份证正面照 URL"
|
|
|
|
|
},
|
|
|
|
|
"id_card_back": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "身份证反面照 URL"
|
|
|
|
|
},
|
|
|
|
|
"in_hand": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "手持身份证照片 URL"
|
|
|
|
|
},
|
|
|
|
|
"license": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "营业执照 URL"
|
|
|
|
|
},
|
|
|
|
|
"contact_person": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "联系人姓名"
|
|
|
|
|
},
|
|
|
|
|
"contact_mobile": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "联系人手机号码"
|
|
|
|
|
},
|
|
|
|
|
"contact_email": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "联系人邮箱"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-12-24 15:20:40 +08:00
|
|
|
|
"score": {
|
|
|
|
|
"bsonType": "int",
|
|
|
|
|
"description": "用户积分,积分变更记录可参考:uni-id-scores表定义"
|
2021-03-31 12:09:52 +08:00
|
|
|
|
},
|
2020-07-31 18:34:27 +08:00
|
|
|
|
"register_date": {
|
|
|
|
|
"bsonType": "timestamp",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"description": "注册时间",
|
|
|
|
|
"forceDefaultValue": {
|
|
|
|
|
"$env": "now"
|
|
|
|
|
}
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"register_ip": {
|
|
|
|
|
"bsonType": "string",
|
2020-10-31 18:26:14 +08:00
|
|
|
|
"description": "注册时 IP 地址",
|
|
|
|
|
"forceDefaultValue": {
|
2020-10-31 18:57:25 +08:00
|
|
|
|
"$env": "clientIP"
|
2020-10-31 18:26:14 +08:00
|
|
|
|
}
|
2020-07-31 18:34:27 +08:00
|
|
|
|
},
|
|
|
|
|
"last_login_date": {
|
|
|
|
|
"bsonType": "timestamp",
|
|
|
|
|
"description": "最后登录时间"
|
|
|
|
|
},
|
|
|
|
|
"last_login_ip": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "最后登录时 IP 地址"
|
2020-08-20 16:25:31 +08:00
|
|
|
|
},
|
|
|
|
|
"token": {
|
|
|
|
|
"bsonType": "array",
|
|
|
|
|
"description": "用户token"
|
|
|
|
|
},
|
|
|
|
|
"inviter_uid": {
|
|
|
|
|
"bsonType": "array",
|
2020-12-23 20:20:34 +08:00
|
|
|
|
"description": "用户全部上级邀请者",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"trim": "both"
|
|
|
|
|
},
|
|
|
|
|
"invite_time": {
|
|
|
|
|
"bsonType": "timestamp",
|
|
|
|
|
"description": "受邀时间"
|
2020-08-20 16:25:31 +08:00
|
|
|
|
},
|
|
|
|
|
"my_invite_code": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "用户自身邀请码"
|
2023-02-10 14:48:54 +08:00
|
|
|
|
},
|
|
|
|
|
"identities": {
|
|
|
|
|
"bsonType": "array",
|
|
|
|
|
"description": "三方平台身份信息;一个对象代表一个身份,参数支持: provider 身份源, userInfo 三方用户信息, openid 三方openid, unionid 三方unionid, uid 三方uid",
|
|
|
|
|
"permission": {
|
|
|
|
|
"read": "'READ_UNI_ID_USERS' in auth.permission",
|
|
|
|
|
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
|
|
|
|
|
}
|
2020-07-31 18:34:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"data": [],
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"index": [
|
|
|
|
|
{
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"IndexName": "username",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "username",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-03 13:26:23 +08:00
|
|
|
|
"MgoIsUnique": false
|
2020-09-23 20:58:34 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "mobile",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "mobile",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-03 13:26:23 +08:00
|
|
|
|
"MgoIsUnique": false
|
2020-09-23 20:58:34 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "email",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "email",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-03 13:26:23 +08:00
|
|
|
|
"MgoIsUnique": false
|
2020-09-23 20:58:34 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"IndexName": "wx_openid.app",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "wx_openid.app",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "wx_openid.mp",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "wx_openid.mp",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "wx_openid.h5",
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"Name": "wx_openid.h5",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"IndexName": "wx_openid.web",
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
2022-06-24 10:50:24 +08:00
|
|
|
|
"Name": "wx_openid.web",
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "wx_unionid",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "wx_unionid",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-06-24 10:50:24 +08:00
|
|
|
|
{
|
|
|
|
|
"IndexName": "qq_openid.app",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "qq_openid.app",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "qq_openid.mp",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "qq_openid.mp",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "qq_unionid",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "qq_unionid",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-09-23 20:58:34 +08:00
|
|
|
|
{
|
|
|
|
|
"IndexName": "ali_openid",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "ali_openid",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
2021-01-18 13:28:20 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "apple_openid",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "apple_openid",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2021-01-18 13:28:20 +08:00
|
|
|
|
"MgoIsUnique": false
|
2020-09-23 20:58:34 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "my_invite_code",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "my_invite_code",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "inviter_uid",
|
|
|
|
|
"MgoKeySchema": {
|
2021-03-31 10:36:01 +08:00
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "inviter_uid",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-09-23 20:58:34 +08:00
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
2022-05-08 17:28:47 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "register_env_app_version_",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "register_env.appVersion",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"IndexName": "register_env_channel_",
|
|
|
|
|
"MgoKeySchema": {
|
|
|
|
|
"MgoIndexKeys": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "register_env.channel",
|
|
|
|
|
"Direction": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"MgoIsUnique": false
|
|
|
|
|
}
|
2021-03-31 10:36:01 +08:00
|
|
|
|
}
|
2020-09-23 20:58:34 +08:00
|
|
|
|
]
|
2021-12-24 15:20:40 +08:00
|
|
|
|
}
|