|
@@ -2,7 +2,6 @@ package service
|
2
|
2
|
|
3
|
3
|
import (
|
4
|
4
|
"bytes"
|
5
|
|
- "encoding/hex"
|
6
|
5
|
"encoding/json"
|
7
|
6
|
"fmt"
|
8
|
7
|
"gdyb/models"
|
|
@@ -68,7 +67,7 @@ func Hbyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
|
68
|
67
|
fmt.Println("error:", err.Error())
|
69
|
68
|
}
|
70
|
69
|
fmt.Println(string(out))
|
71
|
|
- return hex.EncodeToString(out), inputLog
|
|
70
|
+ return string(out), inputLog
|
72
|
71
|
|
73
|
72
|
}
|
74
|
73
|
|
|
@@ -125,7 +124,7 @@ func Hbyb2201(psnNo string, insutype string, certNo string, org_name string, doc
|
125
|
124
|
}
|
126
|
125
|
fmt.Println(string(out))
|
127
|
126
|
|
128
|
|
- return hex.EncodeToString(out), requestLog
|
|
127
|
+ return string(out), requestLog
|
129
|
128
|
|
130
|
129
|
}
|
131
|
130
|
|
|
@@ -165,7 +164,7 @@ func Hbyb2202(psnNo string, mdtrtId string, ipt_otp_no string, org_name string,
|
165
|
164
|
}
|
166
|
165
|
fmt.Println(string(out))
|
167
|
166
|
|
168
|
|
- return hex.EncodeToString(out), requestLog
|
|
167
|
+ return string(out), requestLog
|
169
|
168
|
|
170
|
169
|
}
|
171
|
170
|
|
|
@@ -229,7 +228,7 @@ func Hbyb2203(psnNo string, mdtrtId string, doctor string, department string, or
|
229
|
228
|
}
|
230
|
229
|
fmt.Println(string(out))
|
231
|
230
|
|
232
|
|
- return hex.EncodeToString(out), requestLog
|
|
231
|
+ return string(out), requestLog
|
233
|
232
|
|
234
|
233
|
}
|
235
|
234
|
|
|
@@ -398,7 +397,7 @@ func Hbyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
|
398
|
397
|
}
|
399
|
398
|
fmt.Println(string(out))
|
400
|
399
|
|
401
|
|
- return hex.EncodeToString(out), requestLog
|
|
400
|
+ return string(out), requestLog
|
402
|
401
|
|
403
|
402
|
}
|
404
|
403
|
|
|
@@ -438,7 +437,7 @@ func Hbyb2205(psnNo string, mdtrtId string, chrgBchno string, org_name string, d
|
438
|
437
|
}
|
439
|
438
|
fmt.Println(string(out))
|
440
|
439
|
|
441
|
|
- return hex.EncodeToString(out), requestLog
|
|
440
|
+ return string(out), requestLog
|
442
|
441
|
|
443
|
442
|
}
|
444
|
443
|
|
|
@@ -508,7 +507,7 @@ func Hbyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
508
|
507
|
}
|
509
|
508
|
fmt.Println(string(out))
|
510
|
509
|
|
511
|
|
- return hex.EncodeToString(out), requestLog
|
|
510
|
+ return string(out), requestLog
|
512
|
511
|
|
513
|
512
|
}
|
514
|
513
|
|
|
@@ -578,7 +577,7 @@ func Hbyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
|
578
|
577
|
str2 := string(mjson)
|
579
|
578
|
fmt.Println(string(out))
|
580
|
579
|
|
581
|
|
- return hex.EncodeToString(out), str2
|
|
580
|
+ return string(out), str2
|
582
|
581
|
|
583
|
582
|
}
|
584
|
583
|
|
|
@@ -618,7 +617,7 @@ func Hbyb2208(psnNo string, mdtrtId string, setlId string, org_name string, doct
|
618
|
617
|
str2 := string(mjson)
|
619
|
618
|
fmt.Println(string(out))
|
620
|
619
|
|
621
|
|
- return hex.EncodeToString(out), str2
|
|
620
|
+ return string(out), str2
|
622
|
621
|
|
623
|
622
|
}
|
624
|
623
|
|
|
@@ -654,7 +653,7 @@ func Hbyb5203(baseParams models.BaseParams, businessParams models.BusinessParams
|
654
|
653
|
//str2 := string(mjson)
|
655
|
654
|
fmt.Println(string(out))
|
656
|
655
|
|
657
|
|
- return hex.EncodeToString(out)
|
|
656
|
+ return string(out)
|
658
|
657
|
}
|
659
|
658
|
|
660
|
659
|
//确认订单
|