aa
This commit is contained in:
@@ -2,7 +2,7 @@ package localjx
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/alipay"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -45,9 +45,12 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if vendorPayType == tonglianpayapi.PayTypeZfbApp {
|
if vendorPayType == tonglianpayapi.PayTypeZfbApp {
|
||||||
if authInfo, err := ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == alipay.AuthType {
|
if authInfo, err := ctx.GetV2AuthInfo(); err == nil {
|
||||||
param.Acct = authInfo.GetAuthID()
|
param.Acct = authInfo.GetAuthID()
|
||||||
}
|
}
|
||||||
|
if param.Acct == "" {
|
||||||
|
return nil, fmt.Errorf("未找到用户的认证ID!")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if vendorPayType == tonglianpayapi.PayTypeH5 {
|
if vendorPayType == tonglianpayapi.PayTypeH5 {
|
||||||
param2 := &tonglianpayapi.CreateH5UnitorderOrderParam{
|
param2 := &tonglianpayapi.CreateH5UnitorderOrderParam{
|
||||||
|
|||||||
Reference in New Issue
Block a user