1
This commit is contained in:
@@ -42,6 +42,12 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int,
|
|||||||
if vendorPayType == tonglianpayapi.PayTypeWxXcx {
|
if vendorPayType == tonglianpayapi.PayTypeWxXcx {
|
||||||
param.SubAppID = subAppID
|
param.SubAppID = subAppID
|
||||||
authInfo, err := ctx.GetV2AuthInfo()
|
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 {
|
if err == nil && (authInfo.GetAuthType() == weixin.AuthTypeMini || authInfo.GetAuthType() == douyin.AuthTypeTiktokMini)&& authInfo.GetAuthTypeID() == subAppID {
|
||||||
param.Acct = authInfo.GetAuthID()
|
param.Acct = authInfo.GetAuthID()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user