ITSM

运维管理系统


XiNanSwitchRightBottom(系统情况和灾备中间件)

简要描述

  • 系统情况和灾备中间件

请求URL

  • http://192.168.2.72:8080/mqtransfer/quest/XiNanSwitchRightBottom
对应的图标,注意,编号即是返回数据格式的keyId

请求方式

  • POST

参数

> 特别说明:页面初次打开初始化渲染页面,请求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": [
                {
                    "name": "恒生报盘",
                    "keyId": "1"
                },
                {
                    "name": "深圳网关",
                    "keyId": "2"
                },
                {
                    "name": "上海报盘",
                    "keyId": "3"
                },
                {
                    "name": "深圳行情",
                    "keyId": "4"
                },
                {
                    "name": "上海行情",
                    "keyId": "5"
                },
                {
                    "name": "北交所行情",
                    "keyId": "6"
                },
                {
                    "name": "as-call",
                    "keyId": "7"
                },
                {
                    "name": "as-ctrade",
                    "keyId": "8"
                },
                {
                    "name": "as-cuser",
                    "keyId": "9"
                },
                {
                    "name": "as-ref",
                    "keyId": "10"
                },
                {
                    "name": "as-report",
                    "keyId": "11"
                },
                {
                    "name": "as-etrade",
                    "keyId": "12"
                },
                {
                    "name": "as-query",
                    "keyId": "13"
                },
                {
                    "name": "as-bopacpt",
                    "keyId": "14"
                },
                {
                    "name": "as-eall",
                    "keyId": "15"
                },
                {
                    "name": "ls-eall",
                    "keyId": "16"
                },
                {
                    "name": "ls-call",
                    "keyId": "17"
                },
                {
                    "name": "ls-query",
                    "keyId": "18"
                },
                {
                    "name": "ls-etrade",
                    "keyId": "19"
                },
                {
                    "name": "uf-bar",
                    "keyId": "20"
                },
                {
                    "name": "uf-car-lt",
                    "keyId": "21"
                },
                {
                    "name": "vpn-jar",
                    "keyId": "22"
                },
                {
                    "name": "abus_ar",
                    "keyId": "23"
                },
                {
                    "name": "as_fund",
                    "keyId": "24"
                },
                {
                    "name": "mc_ls",
                    "keyId": "25"
                },
                {
                    "name": "ar_mc",
                    "keyId": "26"
                },
                {
                    "name": "as_ufx",
                    "keyId": "27"
                }
            ],
            "title": [
                {
                    "titleRank": "1",
                    "name": "灾备中间件"
                },
                {
                    "titleRank": "2",
                    "name": "UF20"
                },
                {
                    "titleRank": "3",
                    "name": "O32"
                }
            ]
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1650534684571,
    "message": "success"
}
返回参数为:questType=dataValue 示例
{
    "responseBody": {
        "result": {
            "22": 2,
            "23": 2,
            "24": 2,
            "25": 2,
            "26": 2,
            "27": 0,
            "10": 0,
            "11": 2,
            "12": 1,
            "13": 0,
            "14": 0,
            "15": 0,
            "16": 1,
            "17": 0,
            "18": 2,
            "19": 0,
            "1": 0,
            "2": 0,
            "3": 0,
            "4": 0,
            "5": 1,
            "6": 1,
            "7": 2,
            "8": 2,
            "9": 2,
            "20": 0,
            "21": 0
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1650534708635,
    "message": "success"
}

返回参数说明

参数名 类型 说明
keyId String 标识此接口的唯一id,对应到图标
返回值 Integer 状态 0 正常;1 异常; 2 离线

页面列表

ITEM_HTML