| | |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 上传完成获取安装信息 |
| | | // @Description 上传完成获取安装信息 |
| | | // @Produce json |
| | | // @Tags 算法 |
| | | // @Param identifier formData string true "整个文件的唯一标识,目前是md5" |
| | | // @Success 200 {string} json "{"code":200, msg:"", success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"", success:false}" |
| | | // @Router /data/api-v/sdk/showInstallInfo [post] |
| | | func (sc SdkController) ShowInstallInfo(c *gin.Context) { |
| | | identifier := c.Request.FormValue("identifier") |
| | | var sv service.SdkInstallService |
| | | b,d := sv.ShowInstallInfo(identifier) |
| | | if b { |
| | | util.ResponseFormat(c,code.Success, d) |
| | | } else { |
| | | util.ResponseFormat(c,code.ComError, "获取失败") |
| | | } |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 上传完成开始安装 |
| | | // @Description 上传完成开始安装 |
| | | // @Produce json |