梁海波

Updated app日志查询 (markdown)

@@ -4,13 +4,23 @@ @@ -4,13 +4,23 @@
4 4
5 ### mongo查询接口 5 ### mongo查询接口
6 6
7 -- 埋点日志查询 7 +1. 埋点日志查询
  8 +
  9 + ` 查询结果是分页查询,默认是查询20条每页,最大支持2000条每页,查询超时时间是5秒,5秒钟mongo没有返回结果则超时 `
8 10
9 请求地址 11 请求地址
  12 +
10 `http://120.27.244.103:9301/api/log/query/condition` 13 `http://120.27.244.103:9301/api/log/query/condition`
  14 +
11 请求参数 15 请求参数
12 - | 参数 | 类型 | 是否必须 | 备注 | 16 +
13 - | userId | long长整型 | √ | 用户标识 | 17 +| 参数 | 类型 | 是否必须 | 备注 |
14 - | event | 字符串 | √ | 事件 | 18 +| ------- | ---- | ------- | ------ |
15 - | startTime | long长整型 | √ | 开始时间 | 19 +| userId | long长整型 | √ | 用户标识 |
16 - | endTime | long长整型 | √ | 结束时间 | 20 +| event | 字符串 | √ | 事件 |
  21 +| startTime | long长整型 | √ | 开始时间 |
  22 +| endTime | long长整型 | √ | 结束时间 |
  23 +| size | int整型 | × | 返回结构中每页的数量 |
  24 +| page | int整型 | × | 页码,从0开始 |
  25 +
  26 +