南部新城设备管理平台


查询站点类型和设备信息

{"info":{"from":"runapi","type":"api","title":"","description":"查询设备站点下设备类型及数量以及设备信息","method":"post","url":"http://localhost:8080/nbxc/wlgz/queryStationDetail","remark":"","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"{\n \"stationId\": 123,\n \"deviceName\": \"设备名称\",\n \"deviceKey\": \"设备编号\",\n \"deviceStatus\": [0,1,2],\n \"deviceType\": [\"水浸井盖\",\"水质设备\"],\n \"deviceBussiness\": [\"智慧环保\",\"智慧建造\"]\n}","jsonDesc":[{"name":"stationId","type":"long","remark":"站点id","value":"站点id","require":"1"},{"name":"deviceName","type":"string","remark":"设备名称","value":"","require":"0"},{"name":"deviceKey","type":"string","remark":"设备编号","value":"","require":"0"},{"name":"deviceStatus","type":"array","remark":"设备状态","value":"设备状态","require":"0"},{"name":"deviceType","type":"array","remark":"设备类型","value":"设备类型","require":"0"},{"name":"deviceBussiness","type":"array","remark":"设备所属业务","value":"设备所属业务","require":"0"}]},"headers":[{"name":"","type":"string","value":"","require":"1","remark":""}],"cookies":[{"name":"","value":""}],"auth":[],"query":[],"pathVariable":[]},"response":{"responseText":"","responseOriginal":"","responseExample":"{\n \"code\": \"000000\",\n \"message\": \"查询成功\",\n \"data\": [\n {\n \"deviceType\": \"灯杆\",\n \"deviceCon\": 2,\n \"status\": 1,\n \"deviceInfo\": [\n {\n \"deviceName\": \"设备一\",\n \"deviceKey\": \"000000\",\n \"productKey\": \"12345\",\n \"deviceStatus\": 0\n },\n {\n \"deviceName\": \"设备二\",\n \"deviceKey\": \"000001\",\n \"productKey\": \"12345\",\n \"deviceStatus\": 1\n }\n ]\n },\n {\n \"deviceType\": \"井盖\",\n \"deviceCon\": 2,\n \"status\": 2,\n \"deviceInfo\": [\n {\n \"deviceName\": \"设备一\",\n \"deviceKey\": \"000000\",\n \"productKey\": \"13579\",\n \"deviceStatus\": 1\n },\n {\n \"deviceName\": \"设备二\",\n \"deviceKey\": \"000001\",\n \"productKey\": \"13579\",\n \"deviceStatus\": 2\n }\n ]\n }\n ]\n}","responseHeader":{},"responseStatus":0,"responseTime":0,"responseParamsDesc":[{"name":"code","type":"string","remark":"返回状态码"},{"name":"message","type":"string","remark":"返回状态码信息"},{"name":"data","type":"array","remark":"返回数据"},{"name":"deviceType","type":"string","remark":"设备类型"},{"name":"deviceCon","type":"int","remark":"设备总数"},{"name":"status","type":"int","remark":"设备类型聚合状态(0:正常,1:告警,2:维修)"},{"name":"deviceInfo","type":"array","remark":"设备信息"},{"name":"deviceInfo.deviceName","type":"string","remark":"设备名称"},{"name":"deviceInfo.deviceKey","type":"string","remark":"设备编号"},{"name":"deviceInfo.productKey","type":"string","remark":"产品编号"},{"name":"deviceInfo.deviceStatus","type":"int","remark":"设备状态(0:正常,1:告警,2:维修)"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":""},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML