1
This commit is contained in:
@@ -51,6 +51,9 @@ func (p *PayHandler) CreatePay(txDB orm.TxOrmer, subAppID string) (err error) {
|
||||
if p.VendorPayType == tonglianpayapi.PayTypeWxXcx {
|
||||
param.SubAppID = subAppID
|
||||
authInfo, err := p.Ctx.GetV2AuthInfo()
|
||||
globals.SugarLogger.Debug("===================GetAuthType", authInfo.GetAuthType())
|
||||
globals.SugarLogger.Debug("===================GetAuthTypeID", authInfo.GetAuthTypeID())
|
||||
globals.SugarLogger.Debug("===================GetAuthID", authInfo.GetAuthID())
|
||||
// 微信小程序支付
|
||||
if err == nil && authInfo.GetAuthType() == weixin.AuthTypeMini && authInfo.GetAuthTypeID() == subAppID {
|
||||
param.Acct = authInfo.GetAuthID()
|
||||
|
||||
Reference in New Issue
Block a user