From 789d38603d73dabe8ae5f79c1a35a8d84c130b00 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 三月 2020 18:20:47 +0800
Subject: [PATCH] update protomsg
---
controllers/cameraPolygon.go | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/controllers/cameraPolygon.go b/controllers/cameraPolygon.go
index 1e52e3b..7117b62 100644
--- a/controllers/cameraPolygon.go
+++ b/controllers/cameraPolygon.go
@@ -33,6 +33,7 @@
Y float64 `json:"y"`
}
+// @Security ApiKeyAuth
// @Summary 淇濆瓨鎽勫儚鏈哄杈瑰舰
// @Description 淇濆瓨鎽勫儚鏈哄杈瑰舰
// @Accept json
@@ -54,10 +55,9 @@
util.ResponseFormat(c,code.ComError,"淇濆瓨澶辫触")
}
-
+// @Security ApiKeyAuth
// @Summary 鍒犻櫎鎽勫儚鏈哄尯鍩�
// @Description 鍒犻櫎鎽勫儚鏈哄尯鍩�
-// @Accept json
// @Produce json
// @Tags 鎽勫儚鏈哄杈瑰舰
// @Param id query string true "id"
@@ -80,9 +80,9 @@
util.ResponseFormat(c,code.ComError,"鍒犻櫎")
}
+// @Security ApiKeyAuth
// @Summary 鏌ユ壘鎽勫儚鏈哄尯鍩�
// @Description 鏌ユ壘鎽勫儚鏈哄尯鍩�
-// @Accept json
// @Produce json
// @Tags 鎽勫儚鏈哄杈瑰舰
// @Param cameraId query string true "cameraId"
@@ -116,7 +116,7 @@
if flag {
util.ResponseFormat(c,code.Success,data)
} else {
- util.ResponseFormat(c,code.ComError,data)
+ util.ResponseFormat(c,code.ComError,"鏇存柊澶辫触")
}
}
--
Gitblit v1.8.0