01.页面初始化获取总出入带宽 websocket测试 GET /band/all 接口描述 01.页面初始化获取总出入带宽并返回json数据格式 响应参数 参数名 类型 描述 必填 code int 200成功,其他失败 必填 message string 提示消息 必填 data array 返回的所有数据 必填 title String echarts的图名称 必填 shareBandVos array 存放数据的集合 必填 bandwidthPackage_id string 带宽包ID 必填 cloud_type string 云厂商类型 必填 timestamp string 时间戳 必填 name string 云厂商名字 必填 bandwidth Long 带宽 必填 success boolean true成功,其他失败 必填 说明 / 示例 { "success": true, "code": 200, "message": "成功", "data": { "list": [{ "title": "总入带宽", "shareBandVos": [{ "timestamp": "2021-12-25 08:01:00", "bandwidth": 124059 }, { "timestamp": "2021-12-25 08:02:00", "bandwidth": 127222 }] }] } }
{ "success": true, "code": 200, "message": "成功", "data": { "list": [{ "title": "总入带宽", "shareBandVos": [{ "timestamp": "2021-12-25 08:01:00", "bandwidth": 124059 }, { "timestamp": "2021-12-25 08:02:00", "bandwidth": 127222 }] }] } }