controllers/sdk.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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 {