mirror of
https://github.com/astaxie/beego.git
synced 2025-07-01 03:50:18 +00:00
refactor router
This commit is contained in:
@ -45,7 +45,7 @@ func (tc *TestController) List() {
|
||||
}
|
||||
|
||||
func (tc *TestController) Params() {
|
||||
tc.Ctx.Output.Body([]byte(tc.Ctx.Input.Params["0"] + tc.Ctx.Input.Params["1"] + tc.Ctx.Input.Params["2"]))
|
||||
tc.Ctx.Output.Body([]byte(tc.Ctx.Input.Param("0") + tc.Ctx.Input.Param("1") + tc.Ctx.Input.Param("2")))
|
||||
}
|
||||
|
||||
func (tc *TestController) Myext() {
|
||||
|
Reference in New Issue
Block a user