|
@@ -1794,7 +1794,7 @@ func (c *HisApiController) GetUploadInfo() {
|
1794
|
1794
|
chrg_bchno := chrg_bchno
|
1795
|
1795
|
cert_no := his.Certno
|
1796
|
1796
|
insutype := rf[0].Insutype
|
1797
|
|
- api := "http://127.0.0.1:9531/" + "gdyb/eight?cert_no=" + cert_no + "&insutype=" +
|
|
1797
|
+ api := "http://127.0.0.1:9532/" + "gdyb/eight?cert_no=" + cert_no + "&insutype=" +
|
1798
|
1798
|
insutype + "&psn_no=" + psn_no + "&chrg_bchno=" + chrg_bchno + "&mdtrt_id=" + mdtrt_id +
|
1799
|
1799
|
"&total=" + allTotal + "&org_name=" + org.OrgName + "&doctor=" + patientPrescription.Doctor + "&fixmedins_code=" + miConfig.Code + "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey
|
1800
|
1800
|
resp, requestErr := http.Get(api)
|
|
@@ -2086,7 +2086,7 @@ func (c *HisApiController) Refund() {
|
2086
|
2086
|
miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
|
2087
|
2087
|
config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
|
2088
|
2088
|
if config.IsOpen == 1 { //对接了医保,走医保流程
|
2089
|
|
- api := "http://127.0.0.1:9531/" + "gdyb/nine?psn_no=" + his.PsnNo +
|
|
2089
|
+ api := "http://127.0.0.1:9532/" + "gdyb/nine?psn_no=" + his.PsnNo +
|
2090
|
2090
|
"&mdtrt_id=" + his.Number + "&doctor=" + patientPrescription.Doctor + "&setl_id=" + order.SetlId + "&org_name=" + miConfig.OrgName + "&fixmedins_code=" + miConfig.Code +
|
2091
|
2091
|
"&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey
|
2092
|
2092
|
resp, requestErr := http.Get(api)
|
|
@@ -2111,7 +2111,7 @@ func (c *HisApiController) Refund() {
|
2111
|
2111
|
fmt.Println(respJSON)
|
2112
|
2112
|
fmt.Println(userJSONBytes)
|
2113
|
2113
|
|
2114
|
|
- api2 := "http://127.0.0.1:9531/" + "gdyb/six?psn_no=" + his.PsnNo +
|
|
2114
|
+ api2 := "http://127.0.0.1:9532/" + "gdyb/six?psn_no=" + his.PsnNo +
|
2115
|
2115
|
"&mdtrt_id=" + his.Number + "&chrg_bchno=" + order.Number + "&doctor=" + patientPrescription.Doctor + "&org_name=" + miConfig.OrgName + "&fixmedins_code=" + miConfig.Code +
|
2116
|
2116
|
"&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey
|
2117
|
2117
|
resp2, requestErr2 := http.Get(api2)
|