From 2bccdd76da9afabd1af9f1a640c083d9881fb17f Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 09 六月 2020 14:56:09 +0800 Subject: [PATCH] add swagger --- controllers/sdk.go | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/controllers/sdk.go b/controllers/sdk.go index 238e47a..d314a68 100644 --- a/controllers/sdk.go +++ b/controllers/sdk.go @@ -274,6 +274,15 @@ } } +// @Security ApiKeyAuth +// @Summary 浠庡晢鍩庝笅杞芥垨鍗囩骇绠楁硶 +// @Description 浠庡晢鍩庝笅杞芥垨鍗囩骇绠楁硶 +// @Produce json +// @Tags sysset +// @Param path query string true "绠楁硶id" +// @Success 200 {string} json "{"code":200, msg:"", success:true}" +// @Failure 500 {string} json "{"code":500, msg:"", success:false}" +// @Router /data/api-v/sdk/sdkDownload [get] func (sc SdkController) SdkDownLoad(c *gin.Context) { sdkId, exist := c.GetQuery("path") if !exist { -- Gitblit v1.8.0