mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
搜索记录添加设备平台、IP地址
This commit is contained in:
parent
f591e699fa
commit
328ca6a901
@ -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": "统计时间"
|
||||
|
Loading…
Reference in New Issue
Block a user