From 2b948d7d352cd01035ae7ecd9f900b92cdbb4efc Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 2 Aug 2022 17:22:15 +0800 Subject: [PATCH] pay --- business/jxstore/cms/order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index 7fbb26d9e..909f52a95 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -150,9 +150,9 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app userBill, err := dao.GetUserBill(db, order.UserID, "") if userBill == nil { globals.SugarLogger.Debug("order.UserID,userBill=======================", order.UserID, userBill) - err = financial.AddUserBill(txdb, jxutils.GenBillID(), order.UserID) + err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID) } - err = payHandler.CreatePay(txdb, appId) + err = payHandler.CreatePay(txDB, appId) globals.SugarLogger.Debug("the last step of this program,return err……", err) globals.SugarLogger.Debugf("result : %v", utils.Format4Output(payHandler.WxPayParam, false)) return payHandler.WxPayParam, err