From 0896bcd7452a6fae5e36cf4bc59f0876c6e1d946 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 29 六月 2019 13:51:44 +0800 Subject: [PATCH] add updatesnapshot router --- service/CamraUpdatesnashot.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/CamraUpdatesnashot.go b/service/CamraUpdatesnashot.go index 60f2eb7..adbd955 100644 --- a/service/CamraUpdatesnashot.go +++ b/service/CamraUpdatesnashot.go @@ -137,7 +137,7 @@ fileurl := resp["fileUrl"].(string) filename = filepath.Base(fileurl) - ok := camApi.UpdateSnapshotUrl(cid, filename)) + ok := camApi.UpdateSnapshotUrl(cid, filename) if !ok { return "",errors.New("update filelocal to camera fail") } -- Gitblit v1.8.0