Skip to content

设备日95带宽收益查询接口

  • 功能:分页查询设备日95带宽收益查询接口。
  • 请求路径:/v1/bill/queryDeviceRevenueByPage
  • 请求方式:GET
  • 请求参数
名称类型必须描述
snstring设备号,多个设备号用,号隔开,最多支持100个
workDatestring统计日期 yyyy-MM-dd
pageNoint第几页,从1开始
pageSizeint每页数量,最大值为100
  • 返回值
名称类型描述
totalint数据总数
pagesint总页数
sizeint每页数量
currentint第几页
recordslist设备数据列表

records返回值:

名称类型描述
snstring设备号
workDatestring统计日期 yyyy-MM-dd
contributeBandwidthDouble贡献带宽
revenueDouble收益
revenueStatusInteger收益状态(0未结算,1正常,2异常)
remarkstring备注

返回示例:

json
    //正常请求:
    //http code 0
    {
    "code": 0,
    "message": "操作成功!",
    "data": {
        "records": [
            {
                "sn": "xxxxxxx",
                "workDate": "2025-08-28",
                "contributeBandwidth": 0.0,
                "revenue": 0.0,
                "revenueStatus": 2,
                "remark": "总打点数小于240,不参与收益计算。总打点数小于240,不参与收益计算。"
            },
            {
                "sn": "xxxxxxx",
                "workDate": "2025-08-28",
                "contributeBandwidth": 3.012,
                "revenue": 0.25,
                "revenueStatus": 1,
                "remark": null
            },
            {
                "sn": "xxxxxxx",
                "workDate": "2025-08-28",
                "contributeBandwidth": 44.096,
                "revenue": 3.66,
                "revenueStatus": 1,
                "remark": null
            }
            ...
        ],
        "total": 973,
        "size": 20,
        "current": 1,
        "orders": [],
        "hitCount": false,
        "searchCount": true,
        "pages": 49
    }
    }
json
    //异常请求:
    //http code 4xx/5xx
    {
        "code": 500,
        "message": "签名失败",
        "data": null
    }