From 68fc51cb635fecf12cad58deab88c3b5e0afc0ad Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 22 八月 2019 17:06:49 +0800
Subject: [PATCH] yunnan swagger doc

---
 controllers/fileController.go |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/controllers/fileController.go b/controllers/fileController.go
index a4c67ae..696584d 100644
--- a/controllers/fileController.go
+++ b/controllers/fileController.go
@@ -46,8 +46,8 @@
 
 //var weedfsUri = "http://192.168.1.182:9500/submit"
 
-// @Summary 渚濇嵁鍥剧墖娣诲姞搴曞簱浜哄憳
-// @Description  渚濇嵁鍥剧墖娣诲姞搴曞簱杩斿洖鏁版嵁浜哄憳
+// @Summary 鍗曞紶鍥剧墖涓婁紶锛屾坊鍔犲簳搴撲汉鍛�
+// @Description  鍗曞紶鍥剧墖涓婁紶锛屾坊鍔犲簳搴撹繑鍥炴暟鎹汉鍛�
 // @Accept  mpfd
 // @Produce json
 // @Tags dbperson 搴曞簱浜哄憳
@@ -523,8 +523,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 {
@@ -629,8 +627,8 @@
 // @Tags dbperson 搴曞簱浜哄憳
 // @Param files formData file[] true "澶氫釜搴曞簱浜哄憳鍥剧墖"
 // @Param tableId formData string false "搴曞簱id,鏈塱d 鍒欏姞鍏ュ簳搴擄紝鏃犲垯鍙笂浼犲浘鐗�"
-// @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true,data:{}}"
-// @Failure 500 {string} json "{"code":500,  msg:"杩斿洖閿欒淇℃伅", success:false,data:null}"
+// @Success 200 {string} json "{"code":200, msg:"", success:true,data:{}}"
+// @Failure 500 {string} json "{"code":500,  msg:"", success:false,data:null}"
 // @Router /data/api-v/dbperson/moreFileUpload [POST]
 func (fc FileController) MoreFileUpload(c *gin.Context) {
 	//寰楀埌涓婁紶鐨勬枃浠�
@@ -769,10 +767,4 @@
 	//}                                    // linux
 	result["smImage"] = smUrl
 	util.ResponseFormat(c, code.Success, result)
-}
-
-/**涓嬭浇鏂规硶**/
-func Filedown(c *gin.Context) {
-	//鏆傛椂娌℃湁鎻愪緵鏂规硶
-
 }

--
Gitblit v1.8.0