作者 tangxvhui

@@ -33,6 +33,7 @@ func (c *UploadController) UploadImage() { @@ -33,6 +33,7 @@ func (c *UploadController) UploadImage() {
33 filehead, err := c.GetFiles("file") 33 filehead, err := c.GetFiles("file")
34 if err != nil { 34 if err != nil {
35 log.Error("获取上传文件失败:%s", err) 35 log.Error("获取上传文件失败:%s", err)
  36 + return
36 } 37 }
37 var rsp ResponseUploadImage 38 var rsp ResponseUploadImage
38 for i := range filehead { 39 for i := range filehead {