修改微信退款使用商户号问题,问诊使用新商户号1

This commit is contained in:
wucongxing 2023-12-20 13:32:19 +08:00
parent 9f8393a578
commit 3bda9ddde3
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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())