mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:10:48 +00:00
bug fix
This commit is contained in:
parent
65041aae71
commit
f20ad0916f
@ -431,7 +431,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
||||
//Invoke the request handler
|
||||
vc := reflect.New(runrouter.controllerType)
|
||||
|
||||
StructMap(vc.Elem(), &r)
|
||||
StructMap(vc.Elem(), r)
|
||||
|
||||
//call the controller init function
|
||||
init := vc.MethodByName("Init")
|
||||
|
Loading…
Reference in New Issue
Block a user