f20ad091 by Lunny Xiao

bug fix

1 parent 65041aae
...@@ -431,7 +431,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) ...@@ -431,7 +431,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
431 //Invoke the request handler 431 //Invoke the request handler
432 vc := reflect.New(runrouter.controllerType) 432 vc := reflect.New(runrouter.controllerType)
433 433
434 StructMap(vc.Elem(), &r) 434 StructMap(vc.Elem(), r)
435 435
436 //call the controller init function 436 //call the controller init function
437 init := vc.MethodByName("Init") 437 init := vc.MethodByName("Init")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!