新增退款回调域名

This commit is contained in:
2023-08-03 17:14:42 +08:00
parent ef1222b803
commit 5037adeaf1
3 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -99,11 +99,10 @@ func (r *OrderInquiryService) CancelOrderInquiry(orderInquiryId int64) (bool, er
if orderInquiry.PaymentAmountTotal > 0 {
refundRequest := weChat.RefundRequest{
TransactionId: orderInquiry.EscrowTradeNo,
OutTradeNo: orderInquiry.InquiryNo,
OutRefundNo: inquiryRefundNo,
Reason: "客服取消",
PaymentAmountTotal: int64(orderInquiry.PaymentAmountTotal * 100),
NotifyUrl: "https://dev.hospital.applets.igandanyiyuan.com/" + config.C.Wechat.PatientInquiryRefundNotifyUrl,
NotifyUrl: config.C.Wechat.RefundNotifyDomain + config.C.Wechat.PatientInquiryRefundNotifyUrl,
}
refund, err := refundRequest.Refund()