main.go 277B

123456789101112131415161718192021
  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.ConnectMSDB()
  10. }
  11. func main() {
  12. service.BeginAutoSyncLis()
  13. //service.GetDataInsertDB(10138)
  14. //service.GetResultDataInsertDB(10138)
  15. beego.Run()
  16. }