补充api接口
This commit is contained in:
parent
2616200338
commit
f7ef46df42
@ -168,6 +168,11 @@ func (this *Context) Get(key string) (value interface{}, exists bool) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Context) QueryArray(key string) (values []string) {
|
||||||
|
values, _ = this.GetQueryArray(key)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
如果存在,MustGet 返回给定键的值,否则抛出异常。
|
如果存在,MustGet 返回给定键的值,否则抛出异常。
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user