This commit is contained in:
richboo111
2023-02-23 11:10:53 +08:00
parent 315885ed4c
commit 2290f39083
5 changed files with 1 additions and 902 deletions

View File

@@ -298,7 +298,7 @@ func OnWaybillMsg(req *uuptapi.WaybillCallbackParam) (resp *uuptapi.CallbackResp
globals.SugarLogger.Debugf("uuGetPrice err====%v", err)
reallyPrice = 0
} else {
reallyPrice = utils.Str2Int64(uuPrice.OrderPrice) - utils.Str2Int64(uuPrice.PriceOff)
reallyPrice = int64((utils.Str2Float64(uuPrice.OrderPrice) - utils.Str2Float64(uuPrice.PriceOff)) * 100)
}
switch req.State {
case uuptapi.StateConfirmSuccess: