From e0f0035a7d02098f14e9d800a16d42d4c9380e9c Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 20 十二月 2019 16:22:25 +0800
Subject: [PATCH] test

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

diff --git a/controllers/camera.go b/controllers/camera.go
index 374accf..e9dc4ee 100644
--- a/controllers/camera.go
+++ b/controllers/camera.go
@@ -339,7 +339,10 @@
 		util.ResponseFormat(c, code.ComError, "鏇存柊澶辫触")
         return 
     }
-    util.ResponseFormat(c, code.Success, filename)
+    util.ResponseFormat(c, code.Success, map[string]string{
+    	"cameraId": cid,
+    	"snapshotUrl": filename,
+	})
 } 
 
 type CameraChangeRunVo struct {

--
Gitblit v1.8.0