main.go 284B

12345678910111213141516171819202122
  1. package main
  2. import (
  3. _ "IC/routers"
  4. "IC/service"
  5. "github.com/astaxie/beego"
  6. )
  7. func init() {
  8. service.ConnectDB()
  9. //service.ConnectMSDB2()
  10. //service.ConnectMSDB()
  11. // service.ConnectMSDB2()
  12. // service.ConnectMSDB()
  13. }
  14. func main() {
  15. service.BeginAutoSyncLis()
  16. beego.Run()
  17. }