modify: instead of

This commit is contained in:
bestgopher 2020-04-25 11:36:36 +08:00
parent be4ba7d9df
commit e18e2a9e23
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ func (c *Context) GetQueryArray(key string) ([]string, bool) {
if values, ok := c.queryCache[key]; ok && len(values) > 0 { if values, ok := c.queryCache[key]; ok && len(values) > 0 {
return values, true return values, true
} }
return []string{}, false return nil, false
} }
// QueryMap returns a map for a given query key. // QueryMap returns a map for a given query key.