提交 b16ef12a 编写于 作者: A astaxie

fix test

上级 f9e732b5
......@@ -9,6 +9,7 @@ type FilterRouter struct {
regex *regexp.Regexp
filterFunc FilterFunc
hasregex bool
params map[int]string
}
func (mr *FilterRouter) ValidRouter(router string) bool {
......
......@@ -20,7 +20,7 @@ func (this *TestController) List() {
}
func (this *TestController) Myext() {
this.Ctx.Output.Body([]byte(this.Ctx.Input.Params(":ext")))
this.Ctx.Output.Body([]byte(this.Ctx.Input.Param(":ext")))
}
func (this *TestController) GetUrl() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册