Explorar el Código

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

csx hace 3 años
padre
commit
49a1c07df3
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 2 1
      main.go
  2. 2 2
      service/hbyb_service.go

+ 2 - 1
main.go Ver fichero

@@ -5,6 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"gdyb/models"
7 7
 	_ "gdyb/routers"
8
+	"gdyb/service"
8 9
 	"github.com/astaxie/beego"
9 10
 	"github.com/qiniu/api.v7/auth/qbox"
10 11
 	"github.com/qiniu/api.v7/storage"
@@ -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)

+ 2 - 2
service/hbyb_service.go Ver fichero

@@ -662,8 +662,8 @@ func Hbyb5203(baseParams models.BaseParams, businessParams models.BusinessParams
662 662
 	inputData["psn_no"] = businessParams.PsnNo
663 663
 	inputData["setl_id"] = businessParams.SetlId
664 664
 	inputData["mdtrt_id"] = businessParams.MdtrtId
665
-	inputData["med_type"] = med_type
666
-
665
+	//inputData["med_type"] = med_type
666
+	fmt.Println(med_type)
667 667
 	input["data"] = inputData
668 668
 	inputMessage["input"] = input //交易输入
669 669
 	bytesData, err := json.Marshal(inputMessage)