This commit is contained in:
wucongxing8150 2024-09-05 13:30:25 +08:00
parent d3c4715258
commit 363c02fec0

View File

@ -113,7 +113,7 @@ func (r *OrderMemberService) AddOrderMember(tx *gorm.DB, UserId, SystemMemberId
// 实际付款金额
paymentAmountTotal = amountTotal - couponAmountTotal // 实际付款金额
if paymentAmountTotal < 0 {
return nil, errors.New("价格异常")
paymentAmountTotal = 0
}
if *orderPrice != paymentAmountTotal {