Feature #1747
BS端修改CCTV接口-获取指定车站的所有摄像头信息
Start date:
10/25/2021
Due date:
10/26/2021
% Done:
100%
Estimated time:
4.00 h
Defect version:
Description
请求的URL:
http://localhost:8080/IWebServer/dataSql?t=&callback= &type= ¶=
type: GetAllCameraViaStationName
para: [{"StationCode": "QFS"},{"StationCode": "YGL"}]
返回的数据:
{
"Sucess": 1,
"ErrorInfo": "错误信息",
"Data": [{"StationCode": "MSL","CameraList": [{"PointCode": "","ID ": "01850102007006001101","Desc": "站厅摄像头","Online": 1,"Type": 1,"Area": 1},
{"ID": "01850102007006001102","Desc": "3号出口摄像头", "Online": 0,"Type": 2,"Area": 上行站台},…]},
{
/*第二个车站摄像头信息*/
}]
}
参数说明:
Success: 1表示成功,0表示失败
ErrorInfo: Success为0时,需要填入错误信息, Success为1时这个值可填空字符串.
StationCode: 表示哪个车站
PointCode: 表示摄像头代码
ID: 表示摄像头国际编码
Desc: 摄像头描述
Online: 摄像头状态1表示在线,0表示离线
Type: 文字描述摄像头类型
Area: 文字描述摄像头属于哪个区域