Commit 8c625ff9 authored by liudong1993's avatar liudong1993

1

parent fdfa5dd0
......@@ -2559,7 +2559,7 @@ namespace Mall.Module.Product
return ApiResult.Failed("优惠金额计算有误");
}
//验证总额
if (demodel.Income != (TotalMoney - (demodel.CouponMoney ?? 0) + TotalExpress))
if (demodel.Income != (TotalMoney + TotalExpress))
{
return ApiResult.Failed("订单合计金额不正确");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment