From c38c4bda17e3774ec0fd58f90ba5e59e1f0639a2 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 30 十月 2019 16:39:29 +0800
Subject: [PATCH] swagger add ApiKeyAuth

---
 controllers/area.go |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/controllers/area.go b/controllers/area.go
index 626bec6..705c05c 100644
--- a/controllers/area.go
+++ b/controllers/area.go
@@ -19,6 +19,7 @@
 
 // @Summary 鏄剧ず鏍戝舰缁撴瀯
 // @Description 鏄剧ず宸︿晶鎵�鏈夊尯鍩熷拰鎽勫儚鏈�
+// @Security ApiKeyAuth
 // @Produce json
 // @Tags menu
 // @Param parentid query string true "鍖哄煙鐨刬d"
@@ -39,6 +40,7 @@
 
 // @Summary 鏄剧ずGb28181鏍戝舰缁撴瀯
 // @Description 鏄剧ずGb28181鏍戝舰缁撴瀯
+// @Security ApiKeyAuth
 // @Produce json
 // @Tags menu
 // @Param parentid query string true "鍖哄煙鐨刬d"
@@ -59,6 +61,7 @@
 
 // @Summary 鍒锋柊Gb28181骞冲彴鏍�
 // @Description 鍒锋柊Gb28181骞冲彴鏍�
+// @Security ApiKeyAuth
 // @Produce json
 // @Tags menu
 // @Param id formData string false "鍥芥爣骞冲彴id"
@@ -76,6 +79,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鍒犻櫎Gb28181骞冲彴
 // @Description 鍒犻櫎Gb28181骞冲彴
 // @Produce json
@@ -92,6 +96,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 娣诲姞menu鐨勫尯鍩�
 // @Description 娣诲姞鐩綍涓婂尯鍩�
 // @Produce json
@@ -119,6 +124,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 淇敼鍚嶅瓧
 // @Description 淇敼鍖哄煙鍚嶅瓧
 // @Accept  json
@@ -159,6 +165,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鍒犻櫎涓�涓尯鍩�
 // @Description 鐐瑰嚮鍒犻櫎鎸夐挳鏃跺垹闄や竴涓尯鍩�
 // @Produce json

--
Gitblit v1.8.0