main.go 368B

1234567891011121314151617181920212223
  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. }
  12. func main() {
  13. //service.BeginAutoSyncLis()
  14. //service.GetDataInsertDB(10138)
  15. //service.GetResultDataInsertDB(10138)
  16. //service.GetSHResultDataInsertDB(10215)
  17. service.Synctfyz()
  18. beego.Run()
  19. }