|
@@ -5359,12 +5359,20 @@ func (c *HisApiController) GetPreUploadInfo() {
|
5359
|
5359
|
userJSONBytes, _ := json.Marshal(respJSON)
|
5360
|
5360
|
fmt.Println("log")
|
5361
|
5361
|
fmt.Println(string(userJSONBytes))
|
5362
|
|
- if err := json.Unmarshal(userJSONBytes, &res2); err != nil {
|
|
5362
|
+ if err := json.Unmarshal(userJSONBytes, &resSix10265); err != nil {
|
5363
|
5363
|
utils.ErrorLog("解析失败:%v", err)
|
5364
|
5364
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
5365
|
5365
|
return
|
5366
|
5366
|
}
|
5367
|
5367
|
|
|
5368
|
+ res2.InfRefmsgid = resSix10265.InfRefmsgid
|
|
5369
|
+ res2.Output = resSix10265.Output
|
|
5370
|
+ res2.ErrMsg = resSix10265.ErrMsg
|
|
5371
|
+ res2.Cainfo = resSix10265.Cainfo
|
|
5372
|
+ res2.WarnMsg = resSix10265.WarnMsg
|
|
5373
|
+ infocode, _ := strconv.ParseInt(resSix10265.Infcode, 10, 64)
|
|
5374
|
+ res2.Infcode = infocode
|
|
5375
|
+
|
5368
|
5376
|
} else {
|
5369
|
5377
|
var result string
|
5370
|
5378
|
var requestLog string
|