From 17d45a0ea114110ee888196a83616772fc48d75a Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 20 Sep 2022 17:28:53 +0800 Subject: [PATCH] 1 --- 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 6d5de1bc9..f0ef260ce 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -214,7 +214,7 @@ func PayByBalance(ctx *jxcontext.Context, orderID string, isChoose, payType int, } else { return nil, "order/user_vendor_order更新状态出错", nil } - } else if isChoose == model.PayChooseBalance { + } else if isChoose == model.PayChooseBalance && userBill.AccountBalance < orderInfo.PayPrice { //(1)用户选中余额 但余额<订单总价 需混合微信支付 if userBill.AccountBalance == 0 { WxPayParam, err := Pay(ctx, orderInfo.OrderID, payType, vendorPayType, appID, orderInfo.PayPrice)