From eff19d68fed3bbeb1e671455b502885f98fc11cb Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 02 三月 2020 17:20:12 +0800
Subject: [PATCH] fix

---
 controllers/fileAnalysis.go |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/controllers/fileAnalysis.go b/controllers/fileAnalysis.go
index 83a83eb..b212ded 100644
--- a/controllers/fileAnalysis.go
+++ b/controllers/fileAnalysis.go
@@ -143,10 +143,20 @@
 
 }
 
-// @Param stackId string query true "stackId"
-// @Param type int query true "type"
+// @Security ApiKeyAuth
+// @Summary 鎸夋暟鎹爤id鏌ユ壘鏂囦欢
+// @Description 鎸夋暟鎹爤id鏌ユ壘鏂囦欢
+// @Accept json
+// @Produce json
+// @Tags 鏈湴鏂囦欢
+// @Param stackId query string true "stackId"
+// @Param type query int true "type"
+// @Param name query string "鎼滅储鏉′欢"
 // @Param page query int true "褰撳墠椤�"
 // @Param size query int true "姣忛〉鏁伴噺"
+// @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}"
+// @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}"
+// @Router /data/api-v/fileAnalysis/findByStackId [get]
 func (fac FileAnalysisController) FindByStackId(c *gin.Context) {
 	stackId := c.Query("stackId")
 	if stackId == "" {
@@ -169,4 +179,4 @@
 	} else {
 		util.ResponseFormat(c,code.Success, arr)
 	}
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0