router.go 2.0KB

123456789101112131415161718192021222324252627282930313233343536
  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/tscylissync", &controllers.LisController{}, "get:SyncTscyLis")
  19. beego.Router("/api/lis/fjtflissync", &controllers.LisController{}, "get:SyncFjtfLis")
  20. beego.Router("/api/lis/csnylissync", &controllers.LisController{}, "get:SyncCsnyLis")
  21. //百霖lis
  22. beego.Router("/api/lis/bltest", &controllers.LisController{}, "get:SyncBlLis")
  23. beego.Router("/api/lis/blresulttest", &controllers.LisController{}, "get:SyncBlResultLis")
  24. beego.Router("/api/schedule", &controllers.LisController{}, "get:Schedule")
  25. beego.Router("/api/syncshLis", &controllers.LisController{}, "get:SyncShLis")
  26. beego.Router("/api/syncszblis", &controllers.LisController{}, "get:SyncSzblLis")
  27. beego.Router("/api/test", &controllers.LisController{}, "get:SyncTest")
  28. beego.Router("/api/lis/gzjhxytx", &controllers.LisController{}, "get:SyncGzjhxytx")
  29. beego.Router("/api/lis/scdckfyy", &controllers.LisController{}, "get:SyncSccdkfyyLis")
  30. beego.Router("/api/lis/pajm", &controllers.LisController{}, "get:SyncPajmLis")
  31. }