修改支付参数
This commit is contained in:
@@ -139,7 +139,7 @@ func (r *OrderMemberService) OrderRefund(tx *gorm.DB, order *model.OrderMember,
|
||||
Reason: refundReason,
|
||||
RefundAmount: int64(*refundAmount * 100),
|
||||
PaymentAmountTotal: int64(order.PaymentAmountTotal * 100),
|
||||
NotifyUrl: config.C.Wechat.RefundNotifyDomain + config.C.Wechat.MemberRefundNotifyUrl,
|
||||
NotifyUrl: config.C.Wechat.NotifyDomain + config.C.Wechat.MemberRefundNotifyUrl,
|
||||
}
|
||||
|
||||
refund, err := refundRequest.Refund()
|
||||
|
||||
@@ -139,7 +139,7 @@ func (r *OrderSingleService) OrderRefund(tx *gorm.DB, order *model.OrderSingle,
|
||||
Reason: refundReason,
|
||||
RefundAmount: int64(*refundAmount * 100),
|
||||
PaymentAmountTotal: int64(order.PaymentAmountTotal * 100),
|
||||
NotifyUrl: config.C.Wechat.RefundNotifyDomain + config.C.Wechat.SingleRefundNotifyUrl,
|
||||
NotifyUrl: config.C.Wechat.NotifyDomain + config.C.Wechat.SingleRefundNotifyUrl,
|
||||
}
|
||||
|
||||
refund, err := refundRequest.Refund()
|
||||
|
||||
Reference in New Issue
Block a user