From cc962c1b6ffabd9d41e6db0571efbcc1a4568ce7 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 29 七月 2019 11:39:56 +0800 Subject: [PATCH] use mangos req instead of deliver,add recv timeout --- controllers/camera.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/camera.go b/controllers/camera.go index c0272b9..6c0611b 100644 --- a/controllers/camera.go +++ b/controllers/camera.go @@ -21,9 +21,9 @@ Name string `json:"name"` Type int `json:"type" ` Addr string `json:"addr"` - Areaid string `json:"areaid"` - Longitude float64 `json:"longitude"` - Latitude float64 `json:"latitude"` + Areaid string `json:"areaid"` + Longitude float32 `json:"longitude"` + Latitude float32 `json:"latitude"` Rtsp string `json:"rtsp"` Ip string `json:"ip"` Port int `json:"port"` -- Gitblit v1.8.0