|
@@ -7502,7 +7502,7 @@ func (c *HisApiController) GetPatientInfo() {
|
7502
|
7502
|
var res10265 ResultTwo10265
|
7503
|
7503
|
|
7504
|
7504
|
if miConfig.Code == "H15049901371" {
|
7505
|
|
- if err := json.Unmarshal([]byte(result), &res10265); err != nil {
|
|
7505
|
+ if err := json.Unmarshal(userJSONBytes, &res10265); err != nil {
|
7506
|
7506
|
utils.ErrorLog("解析失败:%v", err)
|
7507
|
7507
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
7508
|
7508
|
return
|
|
@@ -7513,7 +7513,7 @@ func (c *HisApiController) GetPatientInfo() {
|
7513
|
7513
|
res.InfRefmsgid = res10265.InfRefmsgid
|
7514
|
7514
|
|
7515
|
7515
|
} else {
|
7516
|
|
- if err := json.Unmarshal([]byte(result), &res); err != nil {
|
|
7516
|
+ if err := json.Unmarshal(userJSONBytes, &res); err != nil {
|
7517
|
7517
|
utils.ErrorLog("解析失败:%v", err)
|
7518
|
7518
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
7519
|
7519
|
return
|