feat : refund
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user