From f3d2dbd08ed3a776f9f996368f3dbb15602b7951 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 19 十二月 2019 10:47:31 +0800 Subject: [PATCH] add log --- 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