From 3bda9ddde34a60c9317007db48bdf4593c48b25a Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 20 Dec 2023 13:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E4=BD=BF=E7=94=A8=E5=95=86=E6=88=B7=E5=8F=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E9=97=AE=E8=AF=8A=E4=BD=BF=E7=94=A8=E6=96=B0?= =?UTF-8?q?=E5=95=86=E6=88=B7=E5=8F=B71?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/service/OrderInquiry.go | 2 +- api/service/orderProduct.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/service/OrderInquiry.go b/api/service/OrderInquiry.go index 966c372..d6a8a25 100644 --- a/api/service/OrderInquiry.go +++ b/api/service/OrderInquiry.go @@ -117,7 +117,7 @@ func (r *OrderInquiryService) CancelOrderInquiry(req requests.CancelOrderInquiry NotifyUrl: config.C.Wechat.RefundNotifyDomain + config.C.Wechat.PatientInquiryRefundNotifyUrl, } - refund, err := refundRequest.Refund() + refund, err := refundRequest.Refund(1) if err != nil { tx.Rollback() return false, errors.New(err.Error()) diff --git a/api/service/orderProduct.go b/api/service/orderProduct.go index 9db13f9..0105c4a 100644 --- a/api/service/orderProduct.go +++ b/api/service/orderProduct.go @@ -171,7 +171,7 @@ func (r *OrderProductService) CancelOrderProduct(req requests.CancelOrderProduct NotifyUrl: config.C.Wechat.RefundNotifyDomain + config.C.Wechat.PatientProductRefundNotifyUrl, } - refund, err := refundRequest.Refund() + refund, err := refundRequest.Refund(2) if err != nil { tx.Rollback() return false, errors.New(err.Error())