diff --git a/app/services/thirdpay/do/pay.go b/app/services/thirdpay/do/pay.go index 6249fec..44e9e4a 100644 --- a/app/services/thirdpay/do/pay.go +++ b/app/services/thirdpay/do/pay.go @@ -117,8 +117,8 @@ func (w *Pay) Refund() { ok bool ) thirdPayRefund := &paymentService.OrderRefundRequest{ - OrderId: w.Order.Id, - RefundOrderId: w.RelationOrder.Id, + OrderId: w.RelationOrder.Id, + RefundOrderId: w.Order.Id, RefundReason: w.PayParam.Desc, RefundAmount: int64(w.PayParam.Amount), }