liuxiaolong
2020-07-29 07642fd86de34583052d9467260ec6c30e7ded9e
controllers/sdk.go
@@ -280,13 +280,15 @@
// @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 {