This commit is contained in:
richboo111
2022-08-01 15:47:54 +08:00
parent 648f0c8b18
commit 5213725aeb

View File

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