|
@@ -182,6 +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
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
186
|
187
|
}
|
187
|
188
|
|
|
@@ -238,6 +239,8 @@ func Jsyb2203(psnNo string, mdtrtId string, doctor string, department string, or
|
238
|
239
|
return err.Error(), "", 0
|
239
|
240
|
}
|
240
|
241
|
request_url = request_url + "2203A"
|
|
242
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
243
|
+
|
241
|
244
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog, timestamp
|
242
|
245
|
}
|
243
|
246
|
|
|
@@ -299,6 +302,8 @@ func Jsyb2203A(psnNo string, mdtrtId string, doctor string, department string, o
|
299
|
302
|
return err.Error(), ""
|
300
|
303
|
}
|
301
|
304
|
request_url = request_url + "2203A"
|
|
305
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
306
|
+
|
302
|
307
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
303
|
308
|
}
|
304
|
309
|
|
|
@@ -484,6 +489,8 @@ func Jsyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
|
484
|
489
|
}
|
485
|
490
|
|
486
|
491
|
request_url = request_url + "2204"
|
|
492
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
493
|
+
|
487
|
494
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
488
|
495
|
}
|
489
|
496
|
|
|
@@ -573,6 +580,8 @@ func Jsyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
573
|
580
|
return err.Error(), ""
|
574
|
581
|
}
|
575
|
582
|
request_url = request_url + "2206"
|
|
583
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
584
|
+
|
576
|
585
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), requestLog
|
577
|
586
|
|
578
|
587
|
}
|
|
@@ -635,6 +644,8 @@ func Jsyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
635
|
644
|
return err.Error(), ""
|
636
|
645
|
}
|
637
|
646
|
request_url = request_url + "2207"
|
|
647
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
648
|
+
|
638
|
649
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), string(bytesData)
|
639
|
650
|
|
640
|
651
|
}
|
|
@@ -696,6 +707,8 @@ func Jsyb2207A(psnNo string, mdtrtId string, chrgBchno string, certNo string, in
|
696
|
707
|
return err.Error(), ""
|
697
|
708
|
}
|
698
|
709
|
request_url = request_url + "2207A"
|
|
710
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
711
|
+
|
699
|
712
|
return HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)), string(bytesData)
|
700
|
713
|
|
701
|
714
|
}
|
|
@@ -746,6 +759,8 @@ func Jsyb5203(baseParams models.BaseParams, businessParams models.BusinessParams
|
746
|
759
|
return err.Error(), ""
|
747
|
760
|
}
|
748
|
761
|
baseParams.RequestUrl = baseParams.RequestUrl + "5203"
|
|
762
|
+ fmt.Println(HttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData)))
|
|
763
|
+
|
749
|
764
|
return HttpRequest(baseParams.RequestUrl, baseParams.AccessKey, baseParams.SecretKey, timestamp, string(bytesData)), string(bytesData)
|
750
|
765
|
}
|
751
|
766
|
|