1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user