yue不足
This commit is contained in:
@@ -82,7 +82,7 @@ func Cash(ctx *jxcontext.Context, orderID, payType int, vendorPayType string) (e
|
||||
err = financial.AddUserBill(db, jxutils.GenBillID(), order.UserID)
|
||||
}
|
||||
if userBill.AccountBalance < order.PayPrice {
|
||||
return model.ErrCodeAccountBalanceNotEnough, err
|
||||
return model.ErrCodeAccountBalanceNotEnough, fmt.Errorf("用户余额不足,请充值!")
|
||||
}
|
||||
//用户一天只能提现一次
|
||||
billExpends, err := dao.GetBillExpend(db, order.UserID, model.BillTypeCash, DayTimeBegin, DayTimeEnd)
|
||||
|
||||
Reference in New Issue
Block a user