From 48d5a274019ac05b959920ed06bec93751bd26c3 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 10:45:10 +0800 Subject: [PATCH] 1 --- business/partner/purchase/jx/localjx/tonglianpay.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/business/partner/purchase/jx/localjx/tonglianpay.go b/business/partner/purchase/jx/localjx/tonglianpay.go index 82a7dbd8e..daa8c34bc 100644 --- a/business/partner/purchase/jx/localjx/tonglianpay.go +++ b/business/partner/purchase/jx/localjx/tonglianpay.go @@ -42,13 +42,13 @@ 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 ) - globals.SugarLogger.Debug("11111111111111111111",err) - globals.SugarLogger.Debug("11111111111111111111",authInfo.GetAuthTypeID()) - globals.SugarLogger.Debug("11111111111111111111",subAppID) - globals.SugarLogger.Debug("11111111111111111111",authInfo.GetAuthID()) + globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthType(), err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini) && authInfo.GetAuthTypeID() == subAppID) + globals.SugarLogger.Debug("11111111111111111111", err) + globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthTypeID()) + globals.SugarLogger.Debug("11111111111111111111", subAppID) + globals.SugarLogger.Debug("11111111111111111111", authInfo.GetAuthID()) - if err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini)&& authInfo.GetAuthTypeID() == subAppID { + if err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini) && (authInfo.GetAuthTypeID() == subAppID || authInfo.GetAuthTypeID() == "tta6a1d01c399f264201") { param.Acct = authInfo.GetAuthID() } }