|
@@ -5915,12 +5915,20 @@ func (c *HisApiController) GetPreUploadInfo() {
|
5915
|
5915
|
result, _ := json.Marshal(respJSON)
|
5916
|
5916
|
fmt.Println("log")
|
5917
|
5917
|
fmt.Println(string(result))
|
5918
|
|
- if err := json.Unmarshal([]byte(result), &res); err != nil {
|
|
5918
|
+ if err := json.Unmarshal([]byte(result), &resSeven10265); err != nil {
|
5919
|
5919
|
utils.ErrorLog("解析失败:%v", err)
|
5920
|
5920
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
5921
|
5921
|
return
|
5922
|
5922
|
}
|
5923
|
5923
|
|
|
5924
|
+ res.InfRefmsgid = resSeven10265.InfRefmsgid
|
|
5925
|
+ res.Output = resSeven10265.Output
|
|
5926
|
+ res.ErrMsg = resSeven10265.ErrMsg
|
|
5927
|
+ res.Cainfo = resSeven10265.Cainfo
|
|
5928
|
+ res.WarnMsg = resSeven10265.WarnMsg
|
|
5929
|
+ infocode, _ := strconv.ParseInt(resSeven10265.Infcode, 10, 64)
|
|
5930
|
+ res.Infcode = infocode
|
|
5931
|
+
|
5924
|
5932
|
} else {
|
5925
|
5933
|
|
5926
|
5934
|
var result string
|