This commit is contained in:
wucongxing 2023-08-03 17:19:42 +08:00
parent 5037adeaf1
commit 64ffc02ba2

View File

@ -99,6 +99,7 @@ func (r *OrderInquiryService) CancelOrderInquiry(orderInquiryId int64) (bool, er
if orderInquiry.PaymentAmountTotal > 0 { if orderInquiry.PaymentAmountTotal > 0 {
refundRequest := weChat.RefundRequest{ refundRequest := weChat.RefundRequest{
TransactionId: orderInquiry.EscrowTradeNo, TransactionId: orderInquiry.EscrowTradeNo,
OutTradeNo: orderInquiry.InquiryNo,
OutRefundNo: inquiryRefundNo, OutRefundNo: inquiryRefundNo,
Reason: "客服取消", Reason: "客服取消",
PaymentAmountTotal: int64(orderInquiry.PaymentAmountTotal * 100), PaymentAmountTotal: int64(orderInquiry.PaymentAmountTotal * 100),