diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index 984f0092b..a846a4a7b 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -183,7 +183,7 @@ func PayByBalance(ctx *jxcontext.Context, orderID string, isChoose, payType int, globals.SugarLogger.Debug("进入账单未支付") globals.SugarLogger.Debug("user_bill.balance==================", userBill.AccountBalance) // (3)使用余额且 余额大于支付金额 - if userBill.AccountBalance > 0 && userBill.AccountBalance > orderInfo.PayPrice && isChoose == NotChoose { + if userBill.AccountBalance > 0 && userBill.AccountBalance > orderInfo.PayPrice && isChoose == Choose { globals.SugarLogger.Debug("进入余额支付部分") var order = &model.Order{ PayPrice: orderInfo.PayPrice,