From 6858449eef5223bb4cb8850054a47a5884da1fca Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 23 十月 2019 17:15:56 +0800 Subject: [PATCH] update swagger --- controllers/camera.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/camera.go b/controllers/camera.go index 8cf4d24..9be77eb 100644 --- a/controllers/camera.go +++ b/controllers/camera.go @@ -260,8 +260,8 @@ // @Description 鍒囨崲鎽勫儚鏈鸿繍琛屽疄鏃舵垨杞鐨勫紑鍏� // @Produce json // @Tags camera -// @Param cameraId query string true "鎽勫儚鏈篿d" -// @Param runEnable query bool true "寮�鍚細true锛屽叧闂細false" +// @Param cameraId formData string true "鎽勫儚鏈篿d" +// @Param runEnable formData bool true "寮�鍚細true锛屽叧闂細false" // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" // @Router /data/api-v/camera/updateRunEnable [post] -- Gitblit v1.8.0