main.go 343B

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