mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-28 07:19:40 +08:00
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
{"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/场景值"},"uuid":{"bsonType":"string","description":"用户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-session-logs._id","foreignKey":"opendb-stat-session-logs._id"},"current_page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应opendb-stat-pages._id"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"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":"current_page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} |