补充api接口

This commit is contained in:
liwei1dao 2022-12-20 16:11:38 +08:00
parent 2616200338
commit f7ef46df42

View File

@ -168,6 +168,11 @@ func (this *Context) Get(key string) (value interface{}, exists bool) {
return
}
func (this *Context) QueryArray(key string) (values []string) {
values, _ = this.GetQueryArray(key)
return
}
/*
如果存在MustGet 返回给定键的值否则抛出异常
*/