mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:50:55 +00:00
fix test
This commit is contained in:
parent
f9e732b5ce
commit
b16ef12ac0
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user