diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index f8f9933e4..07efe18ab 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -140,7 +140,7 @@ func (p *PayHandler) CreateRefund() (err error) { } else { param.Amount = p.Order.PayPrice * place.DividePercentage / 100 //手续费 } - if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp { + if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil { param.OpenID = authInfo.GetAuthID() } globals.SugarLogger.Debugf("CreateRefund wx param: %v", utils.Format4Output(param, false))