优惠金额计算
This commit is contained in:
parent
f3cdf90355
commit
ea66510480
@ -929,7 +929,7 @@ public class UnifiedRegistrationService : ITransient
|
||||
|
||||
if (coupon.Type == 0) // 折扣
|
||||
{
|
||||
discountAmount = originalAmount * (1 - coupon.Value / 100);
|
||||
discountAmount = originalAmount * coupon.Value / 100;
|
||||
}
|
||||
else if (coupon.Type == 1) // 定额
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user