From 766a35d2f3453c59018d996b9ad508d0eadc82d9 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 3 Aug 2022 17:05:31 +0800 Subject: [PATCH] pay --- business/jxstore/cms/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,