ceshi
This commit is contained in:
@@ -140,7 +140,7 @@ func (p *PayHandler) CreateRefund() (err error) {
|
|||||||
} else {
|
} else {
|
||||||
param.Amount = p.Order.PayPrice * place.DividePercentage / 100 //手续费
|
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()
|
param.OpenID = authInfo.GetAuthID()
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("CreateRefund wx param: %v", utils.Format4Output(param, false))
|
globals.SugarLogger.Debugf("CreateRefund wx param: %v", utils.Format4Output(param, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user