mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:30:49 +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()
|
||||
}
|
||||
|
||||
if context.Input.RunController != nil && context.Input.RunMethod {
|
||||
if context.Input.RunController != nil && context.Input.RunMethod != "" {
|
||||
findrouter = true
|
||||
runMethod = context.Input.RunMethod
|
||||
runrouter = context.Input.RunController
|
||||
|
Loading…
Reference in New Issue
Block a user