From 263c7b18ce7f18f1222318f6e0e499e907895a52 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 13 十一月 2019 19:33:39 +0800
Subject: [PATCH] fix

---
 controllers/fileController.go |    2 --
 controllers/dictionary.go     |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/controllers/dictionary.go b/controllers/dictionary.go
index a68bc28..6654f22 100644
--- a/controllers/dictionary.go
+++ b/controllers/dictionary.go
@@ -10,6 +10,7 @@
 type DictionaryController struct {
 }
 
+// @Security ApiKeyAuth
 // @Summary 鏍规嵁绫诲瀷鏌ユ壘瀛楀吀
 // @Description  鏍规嵁绫诲瀷鏌ユ壘瀛楀吀
 // @Produce json
@@ -28,8 +29,10 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鏍规嵁鐖禝D鏌ユ壘瀛楀吀
 // @Description  鏍规嵁鐖禝D鏌ユ壘瀛楀吀
+// @Accept x-www-form-urlencoded
 // @Produce json
 // @Tags 瀛楀吀
 // @Param parentId query string false "parentId"
diff --git a/controllers/fileController.go b/controllers/fileController.go
index dc54ec3..00ae013 100644
--- a/controllers/fileController.go
+++ b/controllers/fileController.go
@@ -696,8 +696,6 @@
 }
 
 
-// @Description 浜哄憳鐓х墖涓婁紶骞惰幏鍙栫壒寰佸��
-// @Router /data/api-v/dbperson/fileUploadTest [POST]
 func (controller FileController) UploadPersonTest(c *gin.Context) {
 	file, _, err := c.Request.FormFile("file") //image杩欎釜鏄痷plaodify鍙傛暟瀹氫箟涓殑   'fileObjName':'image'
 	if err != nil {

--
Gitblit v1.8.0