Browse Source

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

csx 3 years ago
parent
commit
90e9f9a475
1 changed files with 6 additions and 7 deletions
  1. 6 7
      main.go

+ 6 - 7
main.go View File

4
 	"context"
4
 	"context"
5
 	"fmt"
5
 	"fmt"
6
 	"gdyb/models"
6
 	"gdyb/models"
7
-	_ "gdyb/routers"
8
-	"gdyb/service"
7
+	//_ "gdyb/routers"
9
 	"github.com/astaxie/beego"
8
 	"github.com/astaxie/beego"
10
 	"github.com/qiniu/api.v7/auth/qbox"
9
 	"github.com/qiniu/api.v7/auth/qbox"
11
 	"github.com/qiniu/api.v7/storage"
10
 	"github.com/qiniu/api.v7/storage"
15
 )
14
 )
16
 
15
 
17
 func init() {
16
 func init() {
18
-	service.ConnectDB()
19
-	org_id, _ := beego.AppConfig.Int64("org_id")
20
-	miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
21
-	CreateLog(miConfig)
22
-	UploadLog(miConfig)
17
+	//service.ConnectDB()
18
+	//org_id, _ := beego.AppConfig.Int64("org_id")
19
+	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
20
+	//CreateLog(miConfig)
21
+	//UploadLog(miConfig)
23
 
22
 
24
 }
23
 }
25
 func main() {
24
 func main() {