feat: uni-id-users register_env

This commit is contained in:
王亚琪 2022-05-08 17:28:47 +08:00
parent 9f7ea7bd7d
commit e9937e366a

View File

@ -191,6 +191,40 @@
"description": "备注",
"trim": "both"
},
"register_env": {
"bsonType": "object",
"description": "注册环境信息",
"properties": {
"appid": {
"bsonType": "string",
"description": "注册时的应用AppId"
},
"uni_platform": {
"bsonType": "string",
"description": "注册时的应用平台app、h5等"
},
"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"
}
}
},
"realname_auth": {
"bsonType": "object",
"description": "实名认证信息",
@ -419,6 +453,30 @@
],
"MgoIsUnique": false
}
},
{
"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
}
}
]
}