Browse Source

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

csx 2 years ago
parent
commit
28ef76dbe9
2 changed files with 7 additions and 7 deletions
  1. 1 1
      controllers/sg/his_api_controller.go
  2. 6 6
      main.go

+ 1 - 1
controllers/sg/his_api_controller.go View File

@@ -9359,7 +9359,7 @@ func (c *HisApiController) GetCheckAccount() {
9359 9359
 
9360 9360
 			api := "http://172.16.13.254:9532/" + "nmyb/3201?" +
9361 9361
 				"insutype=" + insutype +
9362
-				"&clr_type=" + "11" +
9362
+				"&clr_type=" + "21" +
9363 9363
 				"&setl_optins=" + clr_org +
9364 9364
 				"&stmt_begndate=" + start_time +
9365 9365
 				"&stm_enddate=" + end_time +

+ 6 - 6
main.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"gdyb/models"
7 7
 	_ "gdyb/routers"
8
-	//"gdyb/service"
8
+	"gdyb/service"
9 9
 	"github.com/astaxie/beego"
10 10
 	"github.com/qiniu/api.v7/auth/qbox"
11 11
 	"github.com/qiniu/api.v7/storage"
@@ -15,11 +15,11 @@ import (
15 15
 )
16 16
 
17 17
 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)
18
+	service.ConnectDB()
19
+	org_id, _ := beego.AppConfig.Int64("org_id")
20
+	miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
21
+	CreateLog(miConfig)
22
+	UploadLog(miConfig)
23 23
 
24 24
 	//UploadSettleList(org_id)
25 25
 }