【修复】修复使用积分,优惠券,全局营销并行多优惠的条件叠加的情况下,可能存在下单金额低于0元的问题。

This commit is contained in:
jianweie code
2023-09-12 01:33:13 +08:00
parent a1f6e4d714
commit d40fb2090f
2 changed files with 68 additions and 22 deletions

View File

@@ -670,6 +670,12 @@ namespace CoreCms.Net.Services
return jm;
}
//判断最终价格
if (cartDto.amount < 0)
{
cartDto.amount = 0;
}
jm.status = true;
jm.data = cartDto;
jm.msg = "4";