From bc2164deb67e29d5ea9301244f2f1525ec30cac9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 11 三月 2020 10:12:27 +0800
Subject: [PATCH] fix swagger

---
 controllers/camera.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/controllers/camera.go b/controllers/camera.go
index 6db49e3..03c36ee 100644
--- a/controllers/camera.go
+++ b/controllers/camera.go
@@ -112,6 +112,7 @@
 		util.ResponseFormat(c, code.RequestParamError, "鍙傛暟閿欒")
 		return
 	}
+	logger.Debug("camera sensors:", cam.Sensors)
 	paramBody := util.Struct2Map(cam)
 	if api.CameraUpdate(paramBody) {
 		util.ResponseFormat(c, code.Success, cam)

--
Gitblit v1.8.0