From 328ca6a9013e561ead3fda24d1903a841aa68762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Mon, 18 Jan 2021 15:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E8=AE=B0=E5=BD=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=AE=BE=E5=A4=87=E5=B9=B3=E5=8F=B0=E3=80=81IP?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-search-log/collection.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/collection/opendb-search-log/collection.json b/collection/opendb-search-log/collection.json index f294c32..30c3c87 100644 --- a/collection/opendb-search-log/collection.json +++ b/collection/opendb-search-log/collection.json @@ -14,16 +14,27 @@ }, "user_id": { "bsonType": "string", - "description": "收藏者id,参考uni-id-users表" + "description": "搜索人id,参考uni-id-users表" }, "device_id": { "bsonType": "string", "description": "设备id" }, + "platform": { + "bsonType": "string", + "description": "设备平台,如:mp-weixin、app-plus等" + }, "content": { "bsonType": "string", "description": "搜索内容" }, + "ip": { + "bsonType": "string", + "description": "客户端IP地址", + "forceDefaultValue": { + "$env": "clientIP" + } + }, "create_date": { "bsonType": "timestamp", "description": "统计时间"