简要描述
请求URL
http://192.168.2.107:8080/ops/bigScreen/XiNameBusLeftBottomRight
对应的图标,注意,编号即是返回数据格式的keyId

请求方式
参数
特别说明:页面初次打开初始化渲染页面,请求questType=configInfo获取配置信息(只获取一次),第二次轮询请求开始questType=dataValue,且初次获取数据dataType=all(全量数据),下一次开始都是增量获取即传参数:dataType=increment
参数名 |
必选 |
类型 |
说明 |
questType |
是 |
string |
请求类型,值: configInfo/dataValue 含义:配置信息/数据信息 |
dataType |
是 |
string |
请求类型,值: all/increment 含义:全量获取/增量获取 |
请求json格式
{
"questType":"configInfo",
"dataType": "all"
}
返回参数为:questType=configInfo 示例
{
"errorCode": 0,
"message": "success",
"responseBody": {
"result": {
"configInfo": [
{
"unit": "笔9",
"maxValue": 20000,
"name": "PB6",
"keyId": "1"
},
{
"unit": "笔5",
"maxValue": 20000,
"name": "资管4",
"keyId": "2"
},
{
"unit": "笔5",
"maxValue": 20000,
"name": "自营10",
"keyId": "3"
},
{
"unit": "笔0",
"maxValue": 50000,
"name": "极速交易2",
"keyId": "4"
},
{
"unit": "笔9",
"maxValue": 50000,
"name": "机构柜台4",
"keyId": "5"
}
],
"title": [
{
"titleRank": "1",
"name": "重要系统交易笔数0"
}
]
}
},
"time": 1644563724423
}
返回参数为:questType=dataValue 示例
{
"errorCode": 0,
"message": "success",
"responseBody": {
"result": {
"1": {
"thisValue": 6333,
"value": 31
},
"2": {
"thisValue": 12438,
"value": 62
},
"3": {
"thisValue": 12157,
"value": 60
},
"4": {
"thisValue": 12529,
"value": 25
},
"5": {
"thisValue": 34494,
"value": 68
}
}
},
"time": 1644563739001
}
返回参数说明
参数名 |
类型 |
说明 |
keyId |
String |
标识此接口的唯一id,对应到图标 |
name |
String |
名称 |
indicName |
数值 [ ] |
指标名称 |
unit |
String |
单位 |
title |
数值 [ ] |
标题 |