Browse Source

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

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

+ 2 - 1
main.go View File

@@ -1,6 +1,7 @@
1 1
 package main
2 2
 
3 3
 import (
4
+	"Admin/service"
4 5
 	"context"
5 6
 	"fmt"
6 7
 	"gdyb/models"
@@ -14,7 +15,7 @@ import (
14 15
 )
15 16
 
16 17
 func init() {
17
-	//service.ConnectDB()
18
+	service.ConnectDB()
18 19
 	//org_id, _ := beego.AppConfig.Int64("org_id")
19 20
 	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
20 21
 	//CreateLog(miConfig)