This commit is contained in:
suyl
2021-06-21 15:28:24 +08:00
parent e63c7a0286
commit 80a967622c
2 changed files with 5 additions and 1 deletions

View File

@@ -52,5 +52,8 @@ func (c *PurchaseHandler) callbackMsg2Waybill(msg *mtwmapi.CallbackMsg) (retVal
VendorOrgCode: msg.AppID,
}
if retVal.StatusTime == utils.DefaultTimeValue {
retVal.StatusTime = getTimeFromTimestamp(utils.Str2Int64(msg.FormData.Get("timestamp")))
}
return retVal
}