package routers import ( "web0325/controllers" beego "github.com/beego/beego/v2/server/web" ) // 路由 func init() { beego.Router("/", &controllers.MainController{}) beego.Router("/may", &controllers.MainController{}, "get.post:Mayday") }