简要描述
请求URL
http://192.168.2.72:8080/mqtransfer/quest/XiNanSwitchLeftBottomRight
对应的图标,注意,编号即是返回数据格式的keyId

请求方式
参数
> 特别说明:页面初次打开初始化渲染页面,请求questType=configInfo获取配置信息(只获取一次),第二次轮询请求开始questType=dataValue,且初次获取数据dataType=all(全量数据),下一次开始都是增量获取即传参数:dataType=increment
参数名 |
必选 |
类型 |
说明 |
region |
是 |
string |
传递空字符串 |
name |
是 |
string |
传递空字符串 |
param |
是 |
string |
请求参数必填 |
param.questType |
是 |
string |
请求类型,值: configInfo/dataValue 含义:配置信息/数据信息 |
param.dataType |
是 |
string |
请求类型,值: all/increment 含义:全量获取/增量获取 |
请求json格式
{
"region": "",
"name": "",
"param": {
"questType":"configInfo",
"dataType": "all"
}
}
返回参数为:questType=configInfo 示例
{
"responseBody": {
"result": {
"configInfo": [
{
"indicName": [
{
"unit": "_6",
"name": "成功次数"
},
{
"unit": "_6",
"name": "失败次数"
}
],
"name": "同花顺",
"keyId": "1"
},
{
"indicName": [
{
"unit": "_5",
"name": "成功次数"
},
{
"unit": "_9",
"name": "失败次数"
}
],
"name": "PC金点子",
"keyId": "2"
},
{
"indicName": [
{
"unit": "_3",
"name": "成功次数"
},
{
"unit": "_7",
"name": "失败次数"
}
],
"name": "手机金点子",
"keyId": "3"
}
],
"title": [
{
"titleRank": "1",
"name": "认证接入情况"
}
]
},
"parseRet": null,
"rawRet": null
},
"errorCode": 0,
"time": 1650359176886,
"message": "success"
}
返回参数为:questType=dataValue 示例
{
"responseBody": {
"result": {
"1": [
3113,
6016
],
"2": [
8080,
6479
],
"3": [
9920,
4852
]
},
"parseRet": null,
"rawRet": null
},
"errorCode": 0,
"time": 1650359208507,
"message": "success"
}
返回参数说明
参数名 |
类型 |
说明 |
keyId |
String |
标识此接口的唯一id,对应到图标 |