This commit is contained in:
richboo111
2022-09-20 17:28:53 +08:00
parent aee9586fd5
commit 17d45a0ea1

View File

@@ -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)