Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
0cb4b0e351
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main.go

+ 2 - 1
main.go View File

@@ -2,11 +2,12 @@ package main
2 2
 
3 3
 import (
4 4
 	_ "gdyb/routers"
5
+	"gdyb/service"
5 6
 	"github.com/astaxie/beego"
6 7
 )
7 8
 
8 9
 func init() {
9
-	//service.ConnectDB()
10
+	service.ConnectDB()
10 11
 	//org_id, _ := beego.AppConfig.Int64("org_id")
11 12
 	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
12 13
 	//CreateLog(miConfig)