f7f390df by astaxie

fix #1221

1 parent 8f7246e1
...@@ -527,7 +527,7 @@ func (c *Controller) GetFile(key string) (multipart.File, *multipart.FileHeader, ...@@ -527,7 +527,7 @@ func (c *Controller) GetFile(key string) (multipart.File, *multipart.FileHeader,
527 // } 527 // }
528 // } 528 // }
529 func (c *Controller) GetFiles(key string) ([]*multipart.FileHeader, error) { 529 func (c *Controller) GetFiles(key string) ([]*multipart.FileHeader, error) {
530 files, ok := c.Ctx.Request.MultipartForm.File["key"] 530 files, ok := c.Ctx.Request.MultipartForm.File[key]
531 if ok { 531 if ok {
532 return files, nil 532 return files, nil
533 } 533 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!