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