feat : refund

This commit is contained in:
2025-03-27 10:03:11 +08:00
parent adcac15aba
commit 410a634a46
2 changed files with 2 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ class CancelOrderConsumer extends ConsumerMessage
} }
if ($orderInfo->status != OrderCode::WAIT_PAY) { if ($orderInfo->status != OrderCode::WAIT_PAY) {
$this->log->debug('CancelOrderConsumer:error:orderStatusError:'.json_encode($orderInfo->toArray())); $this->log->debug('CancelOrderConsumer:error:orderStatusError:order_id:'.$orderId.':order_status:'.$orderInfo->status);
return Result::ACK; return Result::ACK;
} }

View File

@@ -135,6 +135,7 @@ class WxJsRechargeOrderService extends WxJsRechargeBaseService
$message = new GoodOrderRefundFinishProducer([ $message = new GoodOrderRefundFinishProducer([
'refund_order_sno' => $this->orderNo, 'refund_order_sno' => $this->orderNo,
'pay_type' => self::PayType, 'pay_type' => self::PayType,
'callback_data' => $this->callbackData,
]); ]);
$this->producer->produce($message); $this->producer->produce($message);