yirenyishi 6 years ago
parent
commit
e9a62ba49b
  1. 4
      routers/router.go

4
routers/router.go

@ -7,8 +7,8 @@ import (
func init() { func init() {
beego.Router("/", &controllers.IndexController{}) beego.Router("/", &controllers.IndexController{})
beego.Router("/500", &controllers.PageController{},"PageNotFound") beego.Router("/500", &controllers.PageController{},"get:PageNotFound")
beego.Router("/404", &controllers.PageController{},"PageNotFound") beego.Router("/404", &controllers.PageController{},"get:PageNotFound")
beego.Router("/map", &controllers.MapController{}) beego.Router("/map", &controllers.MapController{})
beego.Router("/us", &controllers.PageController{},"get:UsPage") beego.Router("/us", &controllers.PageController{},"get:UsPage")
beego.Router("/iframe/note", &controllers.PageController{},"get:IframeNote") beego.Router("/iframe/note", &controllers.PageController{},"get:IframeNote")

Loading…
Cancel
Save