打印统计接口-清华

打印统计接口

API路径

http://IP:60081/idsp/api/sys/wsxxLqqk/count

请求类型

HTTP POST

请求头

参数名 数据
token eda2025fa8152fda48ac129a6f6b52f8
Content-Type application/json;charset=UTF-8

请求体

  {
        "mac": "设备mac地址",
        "sbbh": "设备编号",
        "cjsj": "" // 注意格式:yyyy-mm-dd
  }

响应体

{
    "flag": 请求状态:1成功,0失败,
    "totalCount": 总数量,
    "msg": "请求描述",
    "data": {
        "dayCount": “今日打印份数”,
        "totalCount": “已打印份数量”
    },
    "extraRes": null
}

API路径示例

http://192.168.0.13:60081/idsp/api/sys/wsxxLqqk/count

请求体示例

  {
        "mac": "1",
        "sbbh": "1",
        "cjsj": "2022-01-07"
  }

响应体示例

{
    "flag": 1,
    "totalCount": 0,
    "msg": null,
    "data": {
        "dayCount": 1,
        "totalCount": 1
    },
    "extraRes": null
}