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