mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 08:00:57 +00:00
fix string
This commit is contained in:
parent
5588bfc35e
commit
9c959fba4d
@ -626,7 +626,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
|||||||
context.Input.Body()
|
context.Input.Body()
|
||||||
}
|
}
|
||||||
|
|
||||||
if context.Input.RunController != nil && context.Input.RunMethod {
|
if context.Input.RunController != nil && context.Input.RunMethod != "" {
|
||||||
findrouter = true
|
findrouter = true
|
||||||
runMethod = context.Input.RunMethod
|
runMethod = context.Input.RunMethod
|
||||||
runrouter = context.Input.RunController
|
runrouter = context.Input.RunController
|
||||||
|
Loading…
Reference in New Issue
Block a user