This commit is contained in:
thinkerou 2018-12-19 22:59:47 +08:00
parent f6e762f1a9
commit 976263d379
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
language: go
sudo: false
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x

View File

@ -419,11 +419,11 @@ func (c *Context) GetPostFormArray(key string) ([]string, bool) {
if values := req.PostForm[key]; len(values) > 0 {
return values, true
}
if req.MultipartForm != nil && req.MultipartForm.File != nil {
/*if req.MultipartForm != nil && req.MultipartForm.File != nil {
if values := req.MultipartForm.Value[key]; len(values) > 0 {
return values, true
}
}
}*/
return []string{}, false
}