From 8a1ad0682d026defd3fe3dcf5eb5dbd982c70db4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 05 七月 2019 11:00:18 +0800 Subject: [PATCH] fix dbtable arg --- controllers/camera.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/camera.go b/controllers/camera.go index 20ec0c6..2a2789e 100644 --- a/controllers/camera.go +++ b/controllers/camera.go @@ -84,7 +84,7 @@ return } paramBody := util.Struct2Map(cam) - if api.CameraAdd(paramBody) { + if api.CameraUpdate(paramBody) { util.ResponseFormat(c, code.Success, cam) return } -- Gitblit v1.8.0