router.go 1.1KB

12345678910111213141516171819202122232425
  1. package routers
  2. import (
  3. "IC/controllers"
  4. "github.com/astaxie/beego"
  5. )
  6. func init() {
  7. beego.Router("/", &controllers.MainController{})
  8. beego.Router("/api/lis/getlist", &controllers.LisController{}, "get:GetList")
  9. beego.Router("/api/lis/synctobase", &controllers.LisController{}, "get:SyncToBase")
  10. beego.Router("/api/lis/synfiled", &controllers.LisController{}, "get:FiledConfigSys")
  11. beego.Router("/api/lis/syncadvice", &controllers.LisController{}, "get:SyncAdvice")
  12. beego.Router("/api/lis/lgeysync", &controllers.LisController{}, "get:SyncLgth")
  13. beego.Router("/api/lis/ystxsync", &controllers.LisController{}, "get:SyncYstx")
  14. beego.Router("/api/lis/gzjhyzsync", &controllers.LisController{}, "get:SyncGzjhyz")
  15. beego.Router("/api/lis/gzjhlissync", &controllers.LisController{}, "get:SyncGzjhLis")
  16. beego.Router("/api/lis/hbdyyzsync", &controllers.LisController{}, "get:SyncHbJldyyz")
  17. beego.Router("/api/lis/hbdylissync", &controllers.LisController{}, "get:SyncHbJldyLis")
  18. beego.Router("/api/lis/bltest", &controllers.LisController{}, "get:SyncBlLis")
  19. beego.Router("/api/lis/blresulttest", &controllers.LisController{}, "get:SyncBlResultLis")
  20. }