简要描述:统计登录人次。

接口版本:

版本号 制定人 制定日期 修订日期
1.0 白梦浩 2022-08-19 2022-08-19

请求URL:

  • /je/rbac/cloud/account/loginStatistic

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: application/json
authorization string 请求内容签名

请求参数:

参数名 是否必须 类型 列格式 说明
year string 2022 年份
month string 8 月份

正确时返回:

{
    "code": "1000",
    "data": [
        {
            "dateStr": "2022-08-01",
            "count": 18
        },
        {
            "dateStr": "2022-08-02",
            "count": 18
        },
        {
            "dateStr": "2022-08-03",
            "count": 20
        },
        {
            "dateStr": "2022-08-04",
            "count": 21
        },
        {
            "dateStr": "2022-08-05",
            "count": 13
        },
        {
            "dateStr": "2022-08-06",
            "count": 1
        },
        {
            "dateStr": "2022-08-07",
            "count": 4
        },
        {
            "dateStr": "2022-08-08",
            "count": 20
        },
        {
            "dateStr": "2022-08-09",
            "count": 19
        },
        {
            "dateStr": "2022-08-10",
            "count": 25
        },
        {
            "dateStr": "2022-08-11",
            "count": 21
        },
        {
            "dateStr": "2022-08-12",
            "count": 18
        },
        {
            "dateStr": "2022-08-13",
            "count": 0
        },
        {
            "dateStr": "2022-08-14",
            "count": 1
        },
        {
            "dateStr": "2022-08-15",
            "count": 20
        },
        {
            "dateStr": "2022-08-16",
            "count": 33
        },
        {
            "dateStr": "2022-08-17",
            "count": 19
        },
        {
            "dateStr": "2022-08-18",
            "count": 17
        },
        {
            "dateStr": "2022-08-19",
            "count": 12
        },
        {
            "dateStr": "2022-08-20",
            "count": 1
        },
        {
            "dateStr": "2022-08-21",
            "count": 2
        },
        {
            "dateStr": "2022-08-22",
            "count": 14
        },
        {
            "dateStr": "2022-08-23",
            "count": 13
        },
        {
            "dateStr": "2022-08-24",
            "count": 15
        },
        {
            "dateStr": "2022-08-25",
            "count": 12
        },
        {
            "dateStr": "2022-08-26",
            "count": 0
        },
        {
            "dateStr": "2022-08-27",
            "count": 0
        },
        {
            "dateStr": "2022-08-28",
            "count": 0
        },
        {
            "dateStr": "2022-08-29",
            "count": 0
        },
        {
            "dateStr": "2022-08-30",
            "count": 0
        },
        {
            "dateStr": "2022-08-31",
            "count": 0
        }
    ],
    "message": "操作成功",
    "success": true,
    "rows": null,
    "totalCount": null
}

错误时返回:

{
"errcode": 500,
"errmsg": "invalid appid"
}

返回参数说明:

参数名 类型 说明
group_level int 用户组id,1:超级管理员;2:普通用户

备注:

  • 更多返回错误代码请看首页的错误代码描述
最后编辑: 于春辉  文档更新时间: 2024-08-08 13:51   作者:于春辉