|
@@ -1971,7 +1971,7 @@ func (c *ZHHisApiController) GetUploadInfo() {
|
1971
|
1971
|
data["org_name"] = miConfig.OrgName
|
1972
|
1972
|
data["opertor"] = roles.UserName
|
1973
|
1973
|
data["fixmedins_code"] = miConfig.Code
|
1974
|
|
- data["insuplc_admdvs"] = miConfig.InsuplcAdmdvs
|
|
1974
|
+ data["insuplc_admdvs"] = record.InsuplcAdmdvs
|
1975
|
1975
|
data["mdtrtarea_admvs"] = miConfig.MdtrtareaAdmvs
|
1976
|
1976
|
data["secret_key"] = miConfig.SecretKey
|
1977
|
1977
|
|
|
@@ -2359,7 +2359,7 @@ func (c *ZHHisApiController) ZHRefundDetail() {
|
2359
|
2359
|
//请求内网数据
|
2360
|
2360
|
api := "http://172.16.13.254:9532/" + "nmyb/2302?psn_no=" + record.PsnNo + "&mdtrtId=" + record.Number + "&feedetl_sn=" + item.FeedetlSn +
|
2361
|
2361
|
"&org_name=" + miConfig.OrgName + "&doctor=" + roles.UserName + "&fixmedins_code=" + miConfig.Code +
|
2362
|
|
- "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&refund_type=" + "1"
|
|
2362
|
+ "&insuplc_admdvs=" + record.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&refund_type=" + "1"
|
2363
|
2363
|
resp, requestErr := http.Get(api)
|
2364
|
2364
|
if requestErr != nil {
|
2365
|
2365
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
|
@@ -2455,7 +2455,7 @@ func (c *ZHHisApiController) ZHRefundDetail() {
|
2455
|
2455
|
//请求内网数据
|
2456
|
2456
|
api := "http://172.16.13.254:9532/" + "nmyb/2302?psn_no=" + record.PsnNo + "&mdtrtId=" + record.Number + "&number=0000" +
|
2457
|
2457
|
"&org_name=" + miConfig.OrgName + "&doctor=" + roles.UserName + "&fixmedins_code=" + miConfig.Code +
|
2458
|
|
- "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&refund_type=" + "1"
|
|
2458
|
+ "&insuplc_admdvs=" + record.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&refund_type=" + "1"
|
2459
|
2459
|
resp, requestErr := http.Get(api)
|
2460
|
2460
|
if requestErr != nil {
|
2461
|
2461
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|