From 1b24df751b96dbcc78b0349d0c362060eb943a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 26 May 2022 14:31:53 +0800 Subject: [PATCH] 1 --- business/partner/purchase/jx/localjx/tonglianpay.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jx/localjx/tonglianpay.go b/business/partner/purchase/jx/localjx/tonglianpay.go index aed43ecb8..b3aa44e96 100644 --- a/business/partner/purchase/jx/localjx/tonglianpay.go +++ b/business/partner/purchase/jx/localjx/tonglianpay.go @@ -42,7 +42,7 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int, if vendorPayType == tonglianpayapi.PayTypeWxXcx { param.SubAppID = subAppID authInfo, err := ctx.GetV2AuthInfo() - globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthType(), err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini) && (authInfo.GetAuthTypeID() == subAppID || authInfo.GetAuthTypeID() == "tta6a1d01c399f264201") ) + globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthType(), err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini) && (authInfo.GetAuthTypeID() == subAppID || authInfo.GetAuthTypeID() == "tta6a1d01c399f264201")) globals.SugarLogger.Debug("11111111111111111111", err) globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthTypeID()) globals.SugarLogger.Debug("11111111111111111111", subAppID) @@ -70,6 +70,8 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int, err = api.TLpayAPI.CreateH5UnitorderOrder(param2) } else { result, err := api.TLpayAPI.CreateUnitorderOrder(param) + globals.SugarLogger.Debug("222222222222222", err) + globals.SugarLogger.Debug("222222222222222", fmt.Sprintf("%+v", result)) if err == nil { var result2 tonglianpayapi.PayInfo json.Unmarshal([]byte(result.PayInfo), &result2)