controllers/camera.go
@@ -45,6 +45,9 @@ ResolutionHeight int `json:"resolution_height"`//分辨率高 Sensors []SensorVo `json:"sensors"` //传感器列表 VoiceEnable bool `json:"voiceEnable"` VoiceId string `json:"voiceId"` } type Resolution struct { @@ -162,6 +165,8 @@ //2019-11-02新增需求,显示每个摄像机的处理服务器信息,归属的节点服务器名称 m := util.Struct2Map(camera) m["runServerName"] = "" m["voiceEnable"] = camera.VoiceEnable m["voiceId"] = camera.VoiceId m["resolution_width"] = camera.ResolutionWidth m["resolution_height"] = camera.ResolutionHeight //摄像机分辨率