简要描述:

考试功能基础信息获取

请求域名:

  • http://xx.com

请求路由:

GET/&route=plugin.data-stats-component.api.stats.getYearTotalCount

请求参数说明:

参数名 类型 是否必需 说明
year string 不传默认当前年份,示例“2025”
show_ratio 浮点类型 全局计算比例

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "total_count": 0,
        "public_total_count": 0,
        "private_total_count": 0,
        "today_public_total_count": 0,
        "today_private_total_count": 0
    }
}

返回参数说明:

参数名 类型 说明
total_count int 累计次总数
public_total_count int 公排累计次数
private_total_count string 私排累计次数
today_public_total_count int 当日公排次数
today_private_total_count string 当日私排次数