This commit is contained in:
邹宗楠
2022-05-30 14:31:29 +08:00
parent e18d367b47
commit 65017f39b4
4 changed files with 75 additions and 1 deletions

View File

@@ -58,10 +58,12 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int,
if vendorPayType == tonglianpayapi.PayTypeZfbJS || vendorPayType == tonglianpayapi.PayTypeZfbApp ||vendorPayType == tonglianpayapi.PayTypeZfbQrcode {
if authInfo, err := ctx.GetV2AuthInfo(); err == nil {
param.Acct = authInfo.GetAuthID()
globals.SugarLogger.Debug("==============1",authInfo)
}
if param.Acct == "" {
return nil, fmt.Errorf("未找到用户的认证ID")
}
globals.SugarLogger.Debug("==============2",param)
}
if vendorPayType == tonglianpayapi.PayTypeH5 {
param2 := &tonglianpayapi.CreateH5UnitorderOrderParam{