| | |
| | | // @Produce json |
| | | // @Tags 算法 |
| | | // @Param identifier formData string true "整个文件的唯一标识,目前是md5" |
| | | // @Param filename formData string true "文件名称" |
| | | // @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") |
| | | filename := c.Request.FormValue("filename") |
| | | var sv service.SdkInstallService |
| | | b,d := sv.ShowInstallInfo(identifier) |
| | | b,d := sv.ShowInstallInfo(identifier, filename) |
| | | if b { |
| | | util.ResponseFormat(c,code.Success, d) |
| | | } else { |