From 481471461d61552d4253727b16024c7d2398babe Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 27 七月 2019 18:40:24 +0800 Subject: [PATCH] fix bug --- 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