feat : refund
This commit is contained in:
@@ -89,7 +89,7 @@ class CancelOrderConsumer extends ConsumerMessage
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -135,6 +135,7 @@ class WxJsRechargeOrderService extends WxJsRechargeBaseService
|
||||
$message = new GoodOrderRefundFinishProducer([
|
||||
'refund_order_sno' => $this->orderNo,
|
||||
'pay_type' => self::PayType,
|
||||
'callback_data' => $this->callbackData,
|
||||
]);
|
||||
$this->producer->produce($message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user