This commit is contained in:
邹宗楠
2022-05-26 10:45:10 +08:00
parent 76d4a78837
commit 48d5a27401

View File

@@ -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()
}
}