From 8113852ecc5584eebc8fa6ed52a1f3b2318ed053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 17 Nov 2020 09:21:57 +0800 Subject: [PATCH] ceshi --- business/jxstore/financial/financial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))