From d2eca500fc5f4b40153c982e31f3be5977293057 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 28 二月 2020 19:21:37 +0800 Subject: [PATCH] update swag --- controllers/fileAnalysis.go | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/controllers/fileAnalysis.go b/controllers/fileAnalysis.go index 83a83eb..def3f4b 100644 --- a/controllers/fileAnalysis.go +++ b/controllers/fileAnalysis.go @@ -143,10 +143,19 @@ } +// @Security ApiKeyAuth +// @Summary 鎸夋暟鎹爤id鏌ユ壘鏂囦欢 +// @Description 鎸夋暟鎹爤id鏌ユ壘鏂囦欢 +// @Accept json +// @Produce json +// @Tags 鏈湴鏂囦欢 // @Param stackId string query true "stackId" // @Param type int query true "type" // @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 == "" { -- Gitblit v1.8.0