作者 yangfu

上传修改

@@ -89,6 +89,7 @@ func (c *UploadController) UploadVideo() { @@ -89,6 +89,7 @@ func (c *UploadController) UploadVideo() {
89 filehead, err := c.GetFiles("file") 89 filehead, err := c.GetFiles("file")
90 if err != nil { 90 if err != nil {
91 log.Error("获取上传文件失败:%s", err) 91 log.Error("获取上传文件失败:%s", err)
  92 + return
92 } 93 }
93 var rsp ResponseUploadImage 94 var rsp ResponseUploadImage
94 for i := range filehead { 95 for i := range filehead {