12345678910111213141516171819202122 |
- package main
-
- import (
- _ "IC/routers"
- "IC/service"
- "github.com/astaxie/beego"
- )
-
- func init() {
- service.ConnectDB()
- //service.ConnectMSDB2()
- //service.ConnectMSDB()
- // service.ConnectMSDB2()
- // service.ConnectMSDB()
- }
-
- func main() {
- service.BeginAutoSyncLis()
-
- beego.Run()
- }
|