城市比例
This commit is contained in:
@@ -138,7 +138,7 @@ func (p *PayHandler) CreateRefund() (err error) {
|
|||||||
if p.Order.PayPrice < 100 {
|
if p.Order.PayPrice < 100 {
|
||||||
param.Amount = p.Order.PayPrice
|
param.Amount = p.Order.PayPrice
|
||||||
} else {
|
} 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 {
|
if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp {
|
||||||
param.OpenID = authInfo.GetAuthID()
|
param.OpenID = authInfo.GetAuthID()
|
||||||
|
|||||||
Reference in New Issue
Block a user