Browse Source

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

csx 2 years ago
parent
commit
5e7191dc8f
1 changed files with 7 additions and 1 deletions
  1. 7 1
      service/fj_service.go

+ 7 - 1
service/fj_service.go View File

@@ -764,7 +764,13 @@ func FJyb3201(baseParams models.BaseParams, businessParams models.BusinessParams
764 764
 	inputMessage := SetInputMessage(nonce, timestamp, baseParams.OrgName, baseParams.Doctor, baseParams.FixmedinsCode, baseParams.InsuplcAdmdvs, baseParams.MdtrtareaAdmvs)
765 765
 	input := make(map[string]interface{})
766 766
 	inputData := make(map[string]interface{})
767
-	inputMessage["infno"] = "3201"                                    // 交易编码
767
+	inputMessage["infno"] = "3201"                 // 交易编码
768
+	inputData["url"] = baseParams.RequestUrl       // 险种
769
+	inputData["app_id"] = baseParams.AppID         // 险种
770
+	inputData["app_secret"] = baseParams.AppSecret // 险种
771
+	inputData["sign_key"] = baseParams.SignKey     // 险种
772
+	inputData["enc_key"] = baseParams.EncKey       // 险种
773
+
768 774
 	inputData["insutype"] = businessParams.Insutype                   // 险种
769 775
 	inputData["clr_type"] = businessParams.ClrType                    // 就诊 ID(来自2201接口返回)
770 776
 	inputData["setl_optins"] = baseParams.InsuplcAdmdvs               // 结算经办机构