From d7c472372e906f60efc5d5f284ec583823f75afb Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 3 Aug 2022 16:27:06 +0800 Subject: [PATCH] pay --- business/jxstore/cms/order.go | 2 +- business/jxstore/financial/financial.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index d26b6d71a..766d74a7e 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -148,7 +148,7 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID) } err = payHandler.CreatePay(txDB, appId) - globals.SugarLogger.Debug("the last step of this program,return err……", err) + globals.SugarLogger.Debug("the last step o f this program,return err……", err) globals.SugarLogger.Debugf("result : %v", utils.Format4Output(payHandler.WxPayParam, false)) return payHandler.WxPayParam, err } diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index c51e4d631..87fb8192b 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -260,7 +260,7 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) { order.PayFinishedAt = t1 order.OriginalData = utils.Format4Output(call, true) payStatus := 0 - order.PayMethod = 2 // 通联微信支付 + //order.PayMethod = 2 // 通联微信支付 if call.TrxStatus == tonglianpayapi.TrxStatusSuccess { order.Status = model.OrderStatusFinished payStatus = model.OrderStatusSuccessPay