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/user.go |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/controllers/user.go b/controllers/user.go
index 56b5c8c..a78d271 100644
--- a/controllers/user.go
+++ b/controllers/user.go
@@ -65,6 +65,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
 // @Description 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
 // @Accept json
@@ -92,6 +93,7 @@
 	c.JSON(http.StatusOK,"閫�鍑烘垚鍔�")
 }
 
+// @Security ApiKeyAuth
 // @Summary 鏌ユ壘鎵�鏈夌敤鎴�
 // @Description 鏌ユ壘鎵�鏈夌敤鎴�
 // @Accept json
@@ -122,6 +124,7 @@
 	MenuIds []string `json:"menuIds"`
 }
 
+// @Security ApiKeyAuth
 // @Summary 缂栬緫姝ょ敤鎴凤紝杩斿洖姝ょ敤鎴风殑鏉冮檺鑿滃崟
 // @Description 缂栬緫姝ょ敤鎴凤紝杩斿洖姝ょ敤鎴风殑鏉冮檺鑿滃崟
 // @Accept json
@@ -146,6 +149,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鏇存柊鐢ㄦ埛鍚嶏紝瀵嗙爜鍜岃彍鍗曟潈闄�
 // @Description 鏇存柊鐢ㄦ埛鍚嶏紝瀵嗙爜鍜岃彍鍗曟潈闄�
 // @Accept json

--
Gitblit v1.8.0