Browse Source

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

csx 2 years ago
parent
commit
186ed9f2ca
1 changed files with 9 additions and 9 deletions
  1. 9 9
      main.go

+ 9 - 9
main.go View File

5
 	//"context"
5
 	//"context"
6
 	"fmt"
6
 	"fmt"
7
 	"gdyb/models"
7
 	"gdyb/models"
8
-	"gdyb/service"
8
+	//"gdyb/service"
9
 	"github.com/qiniu/api.v7/auth/qbox"
9
 	"github.com/qiniu/api.v7/auth/qbox"
10
 	"github.com/qiniu/api.v7/storage"
10
 	"github.com/qiniu/api.v7/storage"
11
 	"strconv"
11
 	"strconv"
29
 )
29
 )
30
 
30
 
31
 func init() {
31
 func init() {
32
-	service.ConnectDB()
33
-	org_id, _ := beego.AppConfig.Int64("org_id")
34
-	miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
35
-	CreateLog(miConfig)
36
-	UploadLog(miConfig)
37
-	if org_id == 10191 {
38
-		service.GetFjAuthorizationInfo(miConfig.Code)
39
-	}
32
+	//service.ConnectDB()
33
+	//org_id, _ := beego.AppConfig.Int64("org_id")
34
+	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
35
+	//CreateLog(miConfig)
36
+	//UploadLog(miConfig)
37
+	//if org_id == 10191 {
38
+	//	service.GetFjAuthorizationInfo(miConfig.Code)
39
+	//}
40
 }
40
 }
41
 func main() {
41
 func main() {
42
 	beego.Run()
42
 	beego.Run()