From 7c811247ecf143e08c576986a884bedadc57dd66 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 05 六月 2020 18:29:41 +0800
Subject: [PATCH] add refresh token to resp

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

diff --git a/controllers/area.go b/controllers/area.go
index 626bec6..59e7f97 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"
@@ -57,6 +59,8 @@
 	util.ResponseFormat(c, code.Success, arr)
 }
 
+// @Security ApiKeyAuth
+// @Accept x-www-form-urlencoded
 // @Summary 鍒锋柊Gb28181骞冲彴鏍�
 // @Description 鍒锋柊Gb28181骞冲彴鏍�
 // @Produce json
@@ -76,6 +80,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鍒犻櫎Gb28181骞冲彴
 // @Description 鍒犻櫎Gb28181骞冲彴
 // @Produce json
@@ -92,8 +97,10 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 娣诲姞menu鐨勫尯鍩�
 // @Description 娣诲姞鐩綍涓婂尯鍩�
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param name formData string true "鍖哄煙鍚嶅瓧"
@@ -119,9 +126,10 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 淇敼鍚嶅瓧
 // @Description 淇敼鍖哄煙鍚嶅瓧
-// @Accept  json
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param id formData string true "鍖哄煙id"
@@ -159,8 +167,10 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鍒犻櫎涓�涓尯鍩�
 // @Description 鐐瑰嚮鍒犻櫎鎸夐挳鏃跺垹闄や竴涓尯鍩�
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param id formData string true "褰撳墠id"

--
Gitblit v1.8.0