package routers import ( "eps/controllers" "github.com/astaxie/beego" ) func init() { beego.Router("/eps/ui/add", &controllers.EpsController{}, "*:UiAdd") beego.Router("/eps/ui/update", &controllers.EpsController{}, "*:UiUpdate") beego.Router("/eps/detail/uilist/:hi:string", &controllers.EpsController{}, "*:UiDetail") beego.Router("/eps/status", &controllers.EpsController{}, "*:UiStatus") beego.Router("/eps/status/params", &controllers.EpsController{}, "Post:Status") beego.Router("/eps/history/uilist/:hi:string", &controllers.EpsController{}, "*:UiHistory") beego.Router("/eps/history/itemlist/:hi:string", &controllers.EpsController{}, "*:HistoryList") }