This commit is contained in:
richboo111
2022-07-28 14:39:51 +08:00
parent 9a8abf0a60
commit 5e2c0e035e

View File

@@ -110,6 +110,7 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app
// 给用户创建一个银行卡账户
globals.SugarLogger.Debugf("createbill begin……")
userBill, err := dao.GetUserBill(db, order.UserID, "")
globals.SugarLogger.Debug("user_bill.billID……", userBill.BillID)
if userBill == nil {
err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID)
}