mirror of
https://github.com/kataras/iris.git
synced 2025-12-29 07:47:22 +00:00
next version preparation: hero, mvc: fix payload binding
Former-commit-id: d95f750dd9e1532c9ac0d30a85b383d60acb3178
This commit is contained in:
@@ -227,7 +227,7 @@ func (m *MyController) MyCustomHandler(id int64) string { return "MyCustomHandle
|
||||
|
||||
如果是 `mvc.New(app.Party("/assets")).Handle(new(file.Controller))`
|
||||
|
||||
- `func(*Controller) GetByWildard(path string)` - `GET:/assets/{param:path}`
|
||||
- `func(*Controller) GetByWildcard(path string)` - `GET:/assets/{param:path}`
|
||||
|
||||
支持的函数接收者类型是:int, int64, bool and string。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user