|
@@ -182,7 +182,7 @@ func Jsyb2202(psnNo string, mdtrtId string, ipt_otp_no string, org_name string,
|
182
|
182
|
}
|
183
|
183
|
|
184
|
184
|
request_url = request_url + "2202"
|
185
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
185
|
+
|
186
|
186
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
187
|
187
|
}
|
188
|
188
|
|
|
@@ -239,7 +239,7 @@ func Jsyb2203(psnNo string, mdtrtId string, doctor string, department string, or
|
239
|
239
|
return err.Error(), "", 0
|
240
|
240
|
}
|
241
|
241
|
request_url = request_url + "2203A"
|
242
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
242
|
+
|
243
|
243
|
|
244
|
244
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog, timestamp
|
245
|
245
|
}
|
|
@@ -302,7 +302,7 @@ func Jsyb2203A(psnNo string, mdtrtId string, doctor string, department string, o
|
302
|
302
|
return err.Error(), ""
|
303
|
303
|
}
|
304
|
304
|
request_url = request_url + "2203A"
|
305
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
305
|
+
|
306
|
306
|
|
307
|
307
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
308
|
308
|
}
|
|
@@ -489,7 +489,7 @@ func Jsyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
|
489
|
489
|
}
|
490
|
490
|
|
491
|
491
|
request_url = request_url + "2204"
|
492
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
492
|
+
|
493
|
493
|
|
494
|
494
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
495
|
495
|
}
|
|
@@ -580,7 +580,7 @@ func Jsyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
580
|
580
|
return err.Error(), ""
|
581
|
581
|
}
|
582
|
582
|
request_url = request_url + "2206"
|
583
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
583
|
+
|
584
|
584
|
|
585
|
585
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
586
|
586
|
|
|
@@ -644,7 +644,7 @@ func Jsyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
644
|
644
|
return err.Error(), ""
|
645
|
645
|
}
|
646
|
646
|
request_url = request_url + "2207"
|
647
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
647
|
+
|
648
|
648
|
|
649
|
649
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), string(bytesData)
|
650
|
650
|
|
|
@@ -707,7 +707,7 @@ func Jsyb2207A(psnNo string, mdtrtId string, chrgBchno string, certNo string, in
|
707
|
707
|
return err.Error(), ""
|
708
|
708
|
}
|
709
|
709
|
request_url = request_url + "2207A"
|
710
|
|
- fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
710
|
+
|
711
|
711
|
|
712
|
712
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), string(bytesData)
|
713
|
713
|
|
|
@@ -759,7 +759,7 @@ func Jsyb5203(baseParams models.BaseParams, businessParams models.BusinessParams
|
759
|
759
|
return err.Error(), ""
|
760
|
760
|
}
|
761
|
761
|
baseParams.RequestUrl = baseParams.RequestUrl + "5203"
|
762
|
|
- fmt.Println(HttpRequest(baseParams.RequestUrl, baseParams.AccessKey, baseParams.SecretKey, timestamp, string(bytesData)))
|
|
762
|
+
|
763
|
763
|
|
764
|
764
|
return HttpRequest(baseParams.RequestUrl, baseParams.AccessKey, baseParams.SecretKey, timestamp, string(bytesData)), string(bytesData)
|
765
|
765
|
}
|
|
@@ -802,6 +802,7 @@ func HttpRequest(url string, ak string, sk string, timestamp int64, json string)
|
802
|
802
|
fmt.Println(err)
|
803
|
803
|
return ""
|
804
|
804
|
}
|
|
805
|
+ fmt.Println(res)
|
805
|
806
|
return res
|
806
|
807
|
}
|
807
|
808
|
|