mirror of
https://gitee.com/johng/gf
synced 2026-06-25 01:05:41 +08:00
修复路由表打印特性时引起的控制器注册方式BindControllerMethod失效问题
This commit is contained in:
@ -95,7 +95,7 @@ func (s *Server)BindControllerMethod(pattern string, c Controller, method string
|
||||
m[key] = &handlerItem {
|
||||
name : fmt.Sprintf(`%s.%s.%s`, pkgPath, ctlName, mname),
|
||||
rtype : gROUTE_REGISTER_CONTROLLER,
|
||||
ctype : t,
|
||||
ctype : v.Elem().Type(),
|
||||
fname : mname,
|
||||
faddr : nil,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user