1
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user