企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 流量分析 **请求URL:** `/data.center/trafficAnalysis` **请求参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |month|否|string|统计时间,默认统计当前月份,格式:2021-09 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "summary": { "visit": 23, "visitor": 1 }, "visit": { "date": [ "20210930", "20210929", "20210928", "20210927", "20210926", "20210925", "20210924", "20210923", "20210922", "20210921", "20210920", "20210919", "20210918", "20210917", "20210916", "20210915", "20210914", "20210913", "20210912", "20210911", "20210910", "20210909", "20210908", "20210907", "20210906", "20210905", "20210904", "20210903", "20210902", "20210901" ], "list": [ { "name": "浏览量", "data": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "13", 0, 0, 0, "10", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } ] }, "user": { "date": [ "20210930", "20210929", "20210928", "20210927", "20210926", "20210925", "20210924", "20210923", "20210922", "20210921", "20210920", "20210919", "20210918", "20210917", "20210916", "20210915", "20210914", "20210913", "20210912", "20210911", "20210910", "20210909", "20210908", "20210907", "20210906", "20210905", "20210904", "20210903", "20210902", "20210901" ], "list": [ { "name": "访客数", "data": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } ] } } } ``` **返回参数说明:** |参数名 |类型 |说明 | |:--| |summary|array |数据汇总 | |summary.visit|integer |首页访问量 | |summary.visitor|integer |首页访客数 | |visit|array |访问量图表数据 | |user|array |访客数图表数据 |