7.1 提供的接口和返回的数据类型
7.1.1 需要提供的接口
日活总数:
http://localhost:8070/realtime-total?date=2019-09-20
日活分时统计
http://localhost:8070/realtime-hour?id=dau&date=2019-02-20
7.1.2 返回的数据格式
- 日活总数
[{"id":"dau","name":"新增日活","value":1200},
{"id":"new_mid","name":"新增设备","value":233} ]
- 日活分时统计
{"yesterday":{"11":383,"12":123,"17":88,"19":200 },
"today":{"12":38,"13":1233,"17":123,"19":688 }}