mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update: 修改uni统计页面及事件日志索引
This commit is contained in:
parent
d14e58c249
commit
daf43f0833
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应uni-stat-session-logs._id","foreignKey":"uni-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"页面ID,对应uni-stat-pagesd","foreignKey":"uni-stat-pagesd"},"event_key":{"bsonType":"string","description":"客户端上报的key"},"param":{"bsonType":"string","description":"事件参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应uni-stat-session-logs._id","foreignKey":"uni-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"页面ID,对应uni-stat-pagesd","foreignKey":"uni-stat-pagesd"},"event_key":{"bsonType":"string","description":"客户端上报的key"},"param":{"bsonType":"string","description":"事件参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"uid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应uni-stat-session-logs._id","foreignKey":"uni-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"当前页面ID,对应uni-stat-pagesd","foreignKey":"uni-stat-pagesd"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应uni-stat-pagesd"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"query_string":{"bsonType":"string","description":"页面参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_entry","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"previous_page_id","Direction":"1"},{"Name":"previous_page_is_entry","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应uni-stat-session-logs._id","foreignKey":"uni-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"当前页面ID,对应uni-stat-pagesd","foreignKey":"uni-stat-pagesd"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应uni-stat-pagesd"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"query_string":{"bsonType":"string","description":"页面参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_entry","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"previous_page_id","Direction":"1"},{"Name":"previous_page_is_entry","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_entry_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"previous_page_id","Direction":"1"},{"Name":"previous_page_is_entry","Direction":"1"},{"Name":"uid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"uid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
Loading…
Reference in New Issue
Block a user