mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
重跑ci
This commit is contained in:
@ -41,7 +41,7 @@ func (r *Request) GetRequest(key string, def ...interface{}) *gvar.Var {
|
||||
if value.IsNil() {
|
||||
value = r.GetRouter(key)
|
||||
}
|
||||
if value.IsNil() {
|
||||
if !value.IsNil() {
|
||||
return value
|
||||
}
|
||||
if len(def) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user