模块:统计模块 接口数:3 更新:2026-09-05 16:11

统计模块

类路径StatisticsController 前缀/statistics

1. todayOverview

接口路径GET/POST /statistics/todayOverview

权限:需要管理员或编辑权限

请求参数

参数名 类型 必填 默认值 说明
token String -

响应说明

{
  "code": 1,
  "msg": "",
  "data": ...
}

2. trend

接口路径GET/POST /statistics/trend

权限:需要管理员或编辑权限

请求参数

参数名 类型 必填 默认值 说明
token String -
days Integer 7

响应说明

{
  "code": 1,
  "msg": "",
  "data": ...
}

3. initHistory

接口路径GET/POST /statistics/initHistory

权限:需要超级管理员权限

请求参数

参数名 类型 必填 默认值 说明
webkey String -
token String -

响应说明

{
  "code": 1,
  "msg": "",
  "data": ...
}