From e9937e366a59e4fe5810bbbe114bd304b936e65c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Sun, 8 May 2022 17:28:47 +0800 Subject: [PATCH] feat: uni-id-users register_env --- collection/uni-id-users/collection.json | 58 +++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index a94acc3..a5d801a 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -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 + } } ] }