modify: instead of

This commit is contained in:
bestgopher 2020-04-25 11:23:48 +08:00
parent be4ba7d9df
commit c88432a333

View File

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