3
This commit is contained in:
parent
d3c4715258
commit
363c02fec0
@ -113,7 +113,7 @@ func (r *OrderMemberService) AddOrderMember(tx *gorm.DB, UserId, SystemMemberId
|
|||||||
// 实际付款金额
|
// 实际付款金额
|
||||||
paymentAmountTotal = amountTotal - couponAmountTotal // 实际付款金额
|
paymentAmountTotal = amountTotal - couponAmountTotal // 实际付款金额
|
||||||
if paymentAmountTotal < 0 {
|
if paymentAmountTotal < 0 {
|
||||||
return nil, errors.New("价格异常")
|
paymentAmountTotal = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if *orderPrice != paymentAmountTotal {
|
if *orderPrice != paymentAmountTotal {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user