diff --git a/business/partner/purchase/jx/localjx/tonglianpay.go b/business/partner/purchase/jx/localjx/tonglianpay.go index 48904d600..82a7dbd8e 100644 --- a/business/partner/purchase/jx/localjx/tonglianpay.go +++ b/business/partner/purchase/jx/localjx/tonglianpay.go @@ -42,6 +42,12 @@ 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()) + if err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini)&& authInfo.GetAuthTypeID() == subAppID { param.Acct = authInfo.GetAuthID() }