城市比例

This commit is contained in:
苏尹岚
2020-11-11 10:27:12 +08:00
parent cd156feba9
commit cb6fa7fa74

View File

@@ -138,7 +138,7 @@ func (p *PayHandler) CreateRefund() (err error) {
if p.Order.PayPrice < 100 {
param.Amount = p.Order.PayPrice
} else {
param.Amount = p.Order.PayPrice * place.DividePercentage / 100 //手续费10%
param.Amount = p.Order.PayPrice * place.DividePercentage / 100 //手续费
}
if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp {
param.OpenID = authInfo.GetAuthID()