From c4c73a384c1a02c26c81b0a76bb1d10062e64cb4 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 14 十一月 2019 17:28:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/webserver

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

diff --git a/controllers/area.go b/controllers/area.go
index 705c05c..59e7f97 100644
--- a/controllers/area.go
+++ b/controllers/area.go
@@ -59,9 +59,10 @@
 	util.ResponseFormat(c, code.Success, arr)
 }
 
+// @Security ApiKeyAuth
+// @Accept x-www-form-urlencoded
 // @Summary 鍒锋柊Gb28181骞冲彴鏍�
 // @Description 鍒锋柊Gb28181骞冲彴鏍�
-// @Security ApiKeyAuth
 // @Produce json
 // @Tags menu
 // @Param id formData string false "鍥芥爣骞冲彴id"
@@ -99,6 +100,7 @@
 // @Security ApiKeyAuth
 // @Summary 娣诲姞menu鐨勫尯鍩�
 // @Description 娣诲姞鐩綍涓婂尯鍩�
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param name formData string true "鍖哄煙鍚嶅瓧"
@@ -127,7 +129,7 @@
 // @Security ApiKeyAuth
 // @Summary 淇敼鍚嶅瓧
 // @Description 淇敼鍖哄煙鍚嶅瓧
-// @Accept  json
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param id formData string true "鍖哄煙id"
@@ -168,6 +170,7 @@
 // @Security ApiKeyAuth
 // @Summary 鍒犻櫎涓�涓尯鍩�
 // @Description 鐐瑰嚮鍒犻櫎鎸夐挳鏃跺垹闄や竴涓尯鍩�
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags menu
 // @Param id formData string true "褰撳墠id"

--
Gitblit v1.8.0