From 4bbf80c7a4587468047df9d25ddccd97baeaa5a6 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 28 Jul 2022 18:05:27 +0800 Subject: [PATCH] pay log --- business/jxstore/cms/order.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index 04c9edd9e..20fe70585 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -108,11 +108,13 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app }() // 给用户创建一个银行卡账户 + globals.SugarLogger.Debug("create bill begin……") userBill, err := dao.GetUserBill(db, order.UserID, "") if userBill == nil { err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID) } err = payHandler.CreatePay(txDB, appId) + globals.SugarLogger.Debug("errrrrr=========================", err) dao.Commit(db, txDB) globals.SugarLogger.Debug("the last step of this program,return err……", err) globals.SugarLogger.Debugf("result : %v", utils.Format4Output(payHandler.WxPayParam, false))